public function parseFile($file)
    {
        $bundleConfig = Yaml::parse(file_get_contents(realpath($file)));

        if (!is_array($bundleConfig)) {
            return array();
        }

        return $bundleConfig;
    }
public function parseFile($file)
    {
        $bundleConfig = Yaml::parse(file_get_contents(realpath($file)));

        if (!is_array($bundleConfig)) {
            return array();
        }

        return $bundleConfig;
    }
public function parseFile ( $ file ) { $ bundleConfig = Yaml :: parse ( file_get_contents ( realpath ( $ file ) ) ) ; if ( ! is_array ( $ bundleConfig ) ) { return array ( ) ; } return $ bundleConfig ; }
Parse a navigation.yml file

@param string $file

@return array
Parse a navigation . yml file