public function load(
        string $resourceName,
        bool $prependResourceName = false
    ) {
        switch ($this->_handler->load($resourceName, $prependResourceName)) {
            case Handler::CONFIG_PARSE_ERROR:
                throw new Exception\ConfigParseException(
                    "Error parsing '{$resourceName}' configuration resource"
                );
            case Handler::CONFIG_RESOURCE_NOT_FOUND:
                throw new Exception\ConfigResourceNotFoundException(
                    "Error '{$resourceName}' configuration resource not found"
                );
        }
    }
public function load(
        string $resourceName,
        bool $prependResourceName = false
    ) {
        switch ($this->_handler->load($resourceName, $prependResourceName)) {
            case Handler::CONFIG_PARSE_ERROR:
                throw new Exception\ConfigParseException(
                    "Error parsing '{$resourceName}' configuration resource"
                );
            case Handler::CONFIG_RESOURCE_NOT_FOUND:
                throw new Exception\ConfigResourceNotFoundException(
                    "Error '{$resourceName}' configuration resource not found"
                );
        }
    }
public function load ( string $ resourceName , bool $ prependResourceName = false ) { switch ( $ this -> _handler -> load ( $ resourceName , $ prependResourceName ) ) { case Handler :: CONFIG_PARSE_ERROR : throw new Exception \ ConfigParseException ( "Error parsing '{$resourceName}' configuration resource" ) ; case Handler :: CONFIG_RESOURCE_NOT_FOUND : throw new Exception \ ConfigResourceNotFoundException ( "Error '{$resourceName}' configuration resource not found" ) ; } }
Load config resource

Combine the received configuration resource name with the
'_configLocation' protected property, and pass it to the config handler.

@param string $resourceName Name of the configuration resource
@param bool $prependResourceName If the resource name should be prepended
to each config key
@return void
Load config resource