public static function parseFile($file, $exceptionOnInvalidType = false, $objectSupport = false)
    {
        if (!is_readable($file)) {
            throw new Exception("File '$file' is not readable");
        }

        return self::parse(file_get_contents($file), $exceptionOnInvalidType, $objectSupport);
    }
public static function parseFile($file, $exceptionOnInvalidType = false, $objectSupport = false)
    {
        if (!is_readable($file)) {
            throw new Exception("File '$file' is not readable");
        }

        return self::parse(file_get_contents($file), $exceptionOnInvalidType, $objectSupport);
    }
public static function parseFile ( $ file , $ exceptionOnInvalidType = false , $ objectSupport = false ) { if ( ! is_readable ( $ file ) ) { throw new Exception ( "File '$file' is not readable" ) ; } return self :: parse ( file_get_contents ( $ file ) , $ exceptionOnInvalidType , $ objectSupport ) ; }
Parsuje plik w formacie yml.

@param type $file
@param type $exceptionOnInvalidType
@param type $objectSupport

@return type
Parsuje plik w formacie yml .