public static function decode($yaml)
    {
        $lines = explode("\n", $yaml);
        reset($lines);
        return self::_decodeYaml(0, $lines);
    }
public static function decode($yaml)
    {
        $lines = explode("\n", $yaml);
        reset($lines);
        return self::_decodeYaml(0, $lines);
    }
public static function decode ( $ yaml ) { $ lines = explode ( "\n" , $ yaml ) ; reset ( $ lines ) ; return self :: _decodeYaml ( 0 , $ lines ) ; }
Very dumb YAML parser

Until we have Zend_Yaml...

@param  string $yaml YAML source
@return array Decoded data
Very dumb YAML parser