Lines Matching refs:Yaml
27 Yaml::parse('072');
33 Yaml::parse('0o72');
49 * Added support to dump `null` as `~` by using the `Yaml::DUMP_NULL_AS_TILDE` flag.
73 * non-string mapping keys throw a `ParseException`, use the `Yaml::PARSE_KEYS_AS_STRINGS`
79 * being able to pass boolean options to the `Yaml::parse()`, `Yaml::dump()`,
88 Yaml::parse('!foo bar', Yaml::PARSE_CUSTOM_TAGS);
95 * added support for parsing YAML files using the `Yaml::parseFile()` or `Parser::parseFile()` method
97 * the `Dumper`, `Parser`, and `Yaml` classes are marked as final
129 Yaml::parse($yaml);
142 Yaml::parse($yaml);
152 Yaml::dump([], 0, 0, Yaml::DUMP_EMPTY_ARRAY_AS_SEQUENCE);
165 Yaml::parse('!php/const:PHP_INT_MAX', Yaml::PARSE_CONSTANT);
175 through the `Yaml::DUMP_OBJECT_AS_MAP` flag.
188 Yaml::parse('2001-12-15 21:59:43.10 -5', Yaml::PARSE_DATETIME);
198 Yaml::parse('{ "foo": "bar", "fiz": "cat" }', Yaml::PARSE_EXCEPTION_ON_INVALID_TYPE | Yaml::PARSE_OBJECT | Yaml::PARSE_OBJECT_FOR_MAP);
204 Yaml::dump(['foo' => new A(), 'bar' => 1], 0, 0, Yaml::DUMP_EXCEPTION_ON_INVALID_TYPE | Yaml::DUMP_OBJECT);
210 * Yaml::parse() now throws an exception when a blackslash is not escaped
236 * Yaml::parse() does not evaluate loaded files as PHP files by default
237 anymore (call Yaml::enablePhpParsing() to get back the old behavior)