1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
<?php
namespace MediaWiki\Settings\Source;
use MediaWiki\Settings\SettingsBuilderException;
use Stringable;
/**
* A SettingsSource is meant to represent any kind of local or remote store
* from which settings can be read, be it a local file, remote URL, database,
* etc. It is concerned with reading (and possibly decoding) settings data.
*
* @since 1.38
* @stable to implement
*/
interface SettingsSource extends Stringable {
/**
* Loads and returns all settings from this source as an associative
* array.
*
* @return array
* @throws SettingsBuilderException
*/
public function load(): array;
}
|