MediaWiki REL1_40
MediaWiki\Settings\Source\ArraySource Class Reference

Settings loaded from an array. More...

Inherits MediaWiki\Settings\Source\SettingsSource.

Collaboration diagram for MediaWiki\Settings\Source\ArraySource:

Public Member Functions

 __construct (array $settings)
 
 __toString ()
 
 load ()
 Loads and returns all settings from this source as an associative array.
 

Detailed Description

Settings loaded from an array.

Since
1.38

Definition at line 10 of file ArraySource.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Settings\Source\ArraySource::__construct ( array $settings)

Definition at line 13 of file ArraySource.php.

Member Function Documentation

◆ __toString()

MediaWiki\Settings\Source\ArraySource::__toString ( )

Definition at line 21 of file ArraySource.php.

◆ load()

MediaWiki\Settings\Source\ArraySource::load ( )

Loads and returns all settings from this source as an associative array.

Returns
array
Exceptions
SettingsBuilderException

Implements MediaWiki\Settings\Source\SettingsSource.

Definition at line 17 of file ArraySource.php.


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