protected function load($path)
    {
        /** @noinspection PhpIncludeInspection */
        $file = require($path);

        if (!is_array($file))
        {
            $message = "{$path} configuration file is not readable.";
            throw new ConfigException($message);
        }

        return $file;
    }
protected function load($path)
    {
        /** @noinspection PhpIncludeInspection */
        $file = require($path);

        if (!is_array($file))
        {
            $message = "{$path} configuration file is not readable.";
            throw new ConfigException($message);
        }

        return $file;
    }
protected function load ( $ path ) { /** @noinspection PhpIncludeInspection */ $ file = require ( $ path ) ; if ( ! is_array ( $ file ) ) { $ message = "{$path} configuration file is not readable." ; throw new ConfigException ( $ message ) ; } return $ file ; }
Load configuration file.

@param string $path

@throws ConfigException
@return array
Load configuration file .