public function load( $file )
    {
        $retVal = array( );

        try
        {
            $retVal = SymFonyYaml::parse( $file );
        }
        catch ( \Exception $e )
        {
            throw new YamlException( $e->getmessage( ), $e->getCode( ), $e );
        }

        return $this->filter( self::ON_YAML_LOAD_FILTER, $retVal, $file );
    }
public function load( $file )
    {
        $retVal = array( );

        try
        {
            $retVal = SymFonyYaml::parse( $file );
        }
        catch ( \Exception $e )
        {
            throw new YamlException( $e->getmessage( ), $e->getCode( ), $e );
        }

        return $this->filter( self::ON_YAML_LOAD_FILTER, $retVal, $file );
    }
public function load ( $ file ) { $ retVal = array ( ) ; try { $ retVal = SymFonyYaml :: parse ( $ file ) ; } catch ( \ Exception $ e ) { throw new YamlException ( $ e -> getmessage ( ) , $ e -> getCode ( ) , $ e ) ; } return $ this -> filter ( self :: ON_YAML_LOAD_FILTER , $ retVal , $ file ) ; }
Parses yaml file and returns an array.

@param string $file the yaml file.

@fitler ON_YAML_LOAD_FILTER(2)

@return array the configuration array
Parses yaml file and returns an array .