44 $this->configs = $configs;
50 public function get( $name ) {
51 foreach ( $this->configs as $config ) {
52 if ( $config->has( $name ) ) {
53 return $config->get( $name );
57 throw new ConfigException( __METHOD__ .
": undefined option: '$name'" );
63 public function has( $name ) {
64 foreach ( $this->configs as $config ) {
65 if ( $config->has( $name ) ) {
Exceptions for config failures.
Provides a fallback sequence for Config objects.
__construct(array $configs)
has( $name)
Check whether a configuration option is set for the given name.bool 1.24
Interface for configuration instances.