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