wiki.techinc.nl/includes/Settings/Source/SettingsSource.php
Derick Alangi 7a37358da5 Settings: Remove unstable markers and mark interfaces appropriately
CachedSource is newable and stable to call while the other interfaces
are now stable to implement.

Change-Id: Ifcb4865691cb7ec308acac2bd3f367b14424a0e1
2022-07-11 13:32:11 +01:00

25 lines
621 B
PHP

<?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;
}