Bluz\Config\Config::loadFile PHP Method

loadFile() protected method

Load configuration file
protected loadFile ( string $path ) : array
$path string
return array
    protected function loadFile($path)
    {
        if (!is_file($path) && !is_readable($path)) {
            throw new ConfigException('Configuration file `' . $path . '` not found');
        }
        return include $path;
    }