MediaWiki REL1_39
MediaWiki\Config\IterableConfig Interface Reference

Interface for iterable configuration instances. More...

Inheritance diagram for MediaWiki\Config\IterableConfig:
Collaboration diagram for MediaWiki\Config\IterableConfig:

Public Member Functions

 getIterator ()
 Returns a traversable view of the configuration variables in this Config object.
 
 getNames ()
 Returns the names of configuration variables in this Config object.
 
- Public Member Functions inherited from 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 iterable configuration instances.

Stability: stable
to implement
Since
1.38

Definition at line 36 of file IterableConfig.php.

Member Function Documentation

◆ getIterator()

MediaWiki\Config\IterableConfig::getIterator ( )

Returns a traversable view of the configuration variables in this Config object.

Returns
Traversable<string,mixed>

Implemented in HashConfig.

◆ getNames()

MediaWiki\Config\IterableConfig::getNames ( )

Returns the names of configuration variables in this Config object.

Returns
string[]

Implemented in HashConfig.


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