MediaWiki master
IterableConfig.php
Go to the documentation of this file.
1<?php
23namespace MediaWiki\Config;
24
25use IteratorAggregate;
26use Traversable;
27
35interface 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.