Skip to content
linchpin edited this page Feb 22, 2023 · 10 revisions

Config

Config Class

  • Full name: \CourierNotices\Model\Config

Properties

properties

Properties

private array $properties

Methods

__construct

Config constructor

public __construct(): mixed

setup_plugin_config

Define our configuration settings

private setup_plugin_config(): bool|mixed

get

Config Getter

public get(string $name): bool|mixed

Parameters:

Parameter Type Description
$name string The name of the property to get.

set

Config Setter

public set(string $name, mixed $value): $this

Parameters:

Parameter Type Description
$name string The name of the property to set.
$value mixed The value of the property being set.

import

Config Importer

public import(array|object $var): $this|bool

Parameters:

Parameter Type Description
$var array|object An array or object or properties and values to set.


Automatically generated from source code comments on 2023-02-22 using phpDocumentor and saggre/phpdocumentor-markdown