Skip to content
github-actions[bot] edited this page Aug 26, 2024 · 12 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 on 2024-08-26

Clone this wiki locally