function. * @return string A YAML manifest document. */ public static function json($json) { $map = json_decode($json, true); return sfYaml::dump($map); } /** * Takes an associative array to convert to a YAML manifest. * * @param array $map (Required) An associative array. * @return string A YAML manifest document. */ public static function map($map) { return sfYaml::dump($map); } }