-
Notifications
You must be signed in to change notification settings - Fork 0
Config
github-actions[bot] edited this page Aug 26, 2024
·
12 revisions
Config Class
- Full name:
\CourierNotices\Model\Config
Properties
private array $properties
Config constructor
public __construct(): mixed
Define our configuration settings
private setup_plugin_config(): bool|mixed
Config Getter
public get(string $name): bool|mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$name |
string | The name of the property to get. |
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. |
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 on 2024-08-26