private function loadIniFile($path)
    {
        $data = parse_ini_file($path, true);
        if ($data === false) {
            throw new UnexpectedValueException(
                sprintf('INI file "%s" is empty or invalid', $path)
            );
        }

        return $data;
    }
private function loadIniFile($path)
    {
        $data = parse_ini_file($path, true);
        if ($data === false) {
            throw new UnexpectedValueException(
                sprintf('INI file "%s" is empty or invalid', $path)
            );
        }

        return $data;
    }
private function loadIniFile ( $ path ) { $ data = parse_ini_file ( $ path , true ) ; if ( $ data === false ) { throw new UnexpectedValueException ( sprintf ( 'INI file "%s" is empty or invalid' , $ path ) ) ; } return $ data ; }
Load an INI file as an array.

@param  string $path A path to an INI file.
@throws UnexpectedValueException If the file can not correctly be parsed into an array.
@return array An array on success.
Load an INI file as an array .