public function getConfig($alias = null)
    {
        if ($alias === null) {
            return $this->_config;
        }

        return isset($this->_config[$alias]) ? $this->_config[$alias] : [];
    }
public function getConfig($alias = null)
    {
        if ($alias === null) {
            return $this->_config;
        }

        return isset($this->_config[$alias]) ? $this->_config[$alias] : [];
    }
public function getConfig ( $ alias = null ) { if ( $ alias === null ) { return $ this -> _config ; } return isset ( $ this -> _config [ $ alias ] ) ? $ this -> _config [ $ alias ] : [ ] ; }
Returns configuration for an alias or the full configuration array for all aliases.

@param string|null $alias Alias to get config for, null for complete config.
@return array The config data.
Returns configuration for an alias or the full configuration array for all aliases .