Debian Codegraph @

includes/Settings/Source/SettingsSource.php

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