MediaWiki
1.30.0
|
A Config instance which stores all settings as a member variable. More...
Public Member Functions | |
__construct (array $settings=[]) | |
get ( $name) | |
@inheritDoc More... | |
has ( $name) | |
@inheritDoc More... | |
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 | ) |
|
static |
Definition at line 40 of file HashConfig.php.
Referenced by HashConfigTest\testNewInstance().
HashConfig::set | ( | $name, | |
$value | |||
) |
string | $name | |
mixed | $value |
Implements MutableConfig.
Definition at line 75 of file HashConfig.php.
|
private |
Array of config settings.
Definition at line 35 of file HashConfig.php.
Referenced by __construct().