MediaWiki master
MediaWiki\Config\MutableConfig Interface Reference

Interface for mutable configuration instances. More...

Inherits MediaWiki\Config\Config.

Inherited by MediaWiki\Config\HashConfig.

Collaboration diagram for MediaWiki\Config\MutableConfig:

Public Member Functions

 set ( $name, $value)
 Set a configuration variable such a "Sitename" to something like "My Wiki".
 
- Public Member Functions inherited from MediaWiki\Config\Config
 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 mutable configuration instances.

Stability: stable
to implement
Since
1.24

Definition at line 32 of file MutableConfig.php.

Member Function Documentation

◆ set()

MediaWiki\Config\MutableConfig::set ( $name,
$value )

Set a configuration variable such a "Sitename" to something like "My Wiki".

Parameters
string$nameName of configuration option
mixed$valueValue to set
Exceptions
ConfigException

Implemented in MediaWiki\Config\HashConfig.


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