MediaWiki  master
IterableConfig.php
Go to the documentation of this file.
1 <?php
23 namespace MediaWiki\Config;
24 
25 use Config;
26 use IteratorAggregate;
27 use Traversable;
28 
36 interface IterableConfig extends Config, IteratorAggregate {
37 
43  public function getIterator(): Traversable;
44 
50  public function getNames(): array;
51 
52 }
Interface for configuration instances.
Definition: Config.php:30
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.