MediaWiki REL1_40
Config Interface Reference

Interface for configuration instances. More...

Inherited by EtcdConfig, GlobalVarConfig, HashConfig, MediaWiki\Config\IterableConfig, and MultiConfig.

Public Member Functions

 get ( $name)
 Get a configuration variable such as "Sitename" or "UploadMaintenance.".
 
 has ( $name)
 Check whether a configuration option is set for the given name.
 

Detailed Description

Interface for configuration instances.

Stability: stable
to implement
Since
1.23

Definition at line 30 of file Config.php.

Member Function Documentation

◆ get()

◆ has()

Config::has ( $name)

Check whether a configuration option is set for the given name.

Parameters
string$nameName of configuration option
Returns
bool
Since
1.24

Implemented in EtcdConfig, GlobalVarConfig, HashConfig, and MultiConfig.

Referenced by MediaWiki\Settings\Config\ConfigSchemaAggregator\validateConfig().


The documentation for this interface was generated from the following file: