This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/Yaml
2013-01-18 09:32:48 +10:00
..
Exception fixed some phpdoc 2012-01-11 15:46:50 +01:00
composer.json removed the version attribute in all composer.json files 2012-01-05 14:51:20 +01:00
Dumper.php [Yaml] fixed unneeded BC break 2013-01-17 22:16:19 +01:00
Escaper.php fixed CS (mainly method signatures) 2012-07-09 14:43:50 +02:00
Inline.php [Yaml] fixed #6770 2013-01-18 09:32:48 +10:00
LICENSE updated license year 2013-01-04 17:59:43 +01:00
Parser.php added a way to enable/disable object support when parsing/dumping 2013-01-17 16:07:25 +01:00
README.md tweaked the README files 2011-12-18 14:22:28 +01:00
Unescaper.php fixed CS (mainly method signatures) 2012-07-09 14:43:50 +02:00
Yaml.php [Yaml] fixed unneeded BC break 2013-01-17 22:16:19 +01:00

Yaml Component

YAML implements most of the YAML 1.2 specification.

use Symfony\Component\Yaml\Yaml;

$array = Yaml::parse($file);

print Yaml::dump($array);

Resources

Unit tests:

https://github.com/symfony/symfony/tree/master/tests/Symfony/Tests/Component/Yaml