MediaWiki master
IterableConfig.php
Go to the documentation of this file.
1<?php
9namespace MediaWiki\Config;
10
11use IteratorAggregate;
12use Traversable;
13
21interface IterableConfig extends Config, IteratorAggregate {
22
28 public function getIterator(): Traversable;
29
35 public function getNames(): array;
36
37}
Interface for configuration instances.
Definition Config.php:18
Interface for iterable configuration instances.
getIterator()
Returns a traversable view of the configuration variables in this Config object.
getNames()
Returns the names of configuration variables in this Config object.