private function loadFile(string $path)
    {
        if (!file_exists($path)) {
            throw new Exception('Configuration file "' . $path . '" is not found');
        }

        if (!is_readable($path)) {
            throw new Exception('Configuration file "' . $path . '" is not readable');
        }

        // Include file
        $content = include $path;

        if (!\is_array($content)) {
            throw new Exception("Passed file \"$path\" is not array");
        }

        return $content;
    }
private function loadFile(string $path)
    {
        if (!file_exists($path)) {
            throw new Exception('Configuration file "' . $path . '" is not found');
        }

        if (!is_readable($path)) {
            throw new Exception('Configuration file "' . $path . '" is not readable');
        }

        // Include file
        $content = include $path;

        if (!\is_array($content)) {
            throw new Exception("Passed file \"$path\" is not array");
        }

        return $content;
    }
private function loadFile ( string $ path ) { if ( ! file_exists ( $ path ) ) { throw new Exception ( 'Configuration file "' . $ path . '" is not found' ) ; } if ( ! is_readable ( $ path ) ) { throw new Exception ( 'Configuration file "' . $ path . '" is not readable' ) ; } // Include file $ content = include $ path ; if ( ! \ is_array ( $ content ) ) { throw new Exception ( "Passed file \"$path\" is not array" ) ; } return $ content ; }
Load parameters from filesystem

@param   string $path
@return  mixed
@throws  Exception
Load parameters from filesystem