MediaWiki master
MediaWiki\Settings\Source\ArraySource Class Reference

Settings loaded from an array. More...

Inherits Stringable, and 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 12 of file ArraySource.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 15 of file ArraySource.php.

Member Function Documentation

◆ __toString()

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

Definition at line 23 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 19 of file ArraySource.php.


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