MediaWiki
1.28.0
|
A Config instance which stores all settings as a member variable. More...
Public Member Functions | |
__construct (array $settings=[]) | |
get ($name) | |
has ($name) | |
set ($name, $value) | |
Static Public Member Functions | |
static | newInstance () |
Private Attributes | |
array | $settings |
Array of config settings. More... | |
A Config instance which stores all settings as a member variable.
Definition at line 28 of file HashConfig.php.
HashConfig::__construct | ( | array | $settings = [] | ) |
array | $settings | Any current settings to pre-load |
Definition at line 47 of file HashConfig.php.
HashConfig::get | ( | $name | ) |
HashConfig::has | ( | $name | ) |
Implements Config.
Definition at line 65 of file HashConfig.php.
References $name, and settings.
Referenced by get().
|
static |
Definition at line 40 of file HashConfig.php.
Referenced by HashConfigTest\testNewInstance().
HashConfig::set | ( | $name, | |
$value | |||
) |
|
private |
Array of config settings.
Definition at line 35 of file HashConfig.php.
Referenced by __construct().