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;
    }