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
2012-02-22 10:10:37 +01: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 replaced symfony-project.org by symfony.com 2011-03-06 12:40:06 +01:00
Escaper.php removed empty lines/trailing spaces 2011-04-15 21:12:02 +02:00
Inline.php fixed CS 2011-12-18 14:42:59 +01:00
LICENSE Updated LICENSE files copyright 2012-02-22 10:10:37 +01:00
Parser.php optimized string starts with checks 2012-01-11 11:33:56 -08:00
README.md tweaked the README files 2011-12-18 14:22:28 +01:00
Unescaper.php fixed CS 2011-06-08 12:12:55 +02:00
Yaml.php [Yaml][Parser] changes according review 2012-01-13 17:48:38 +02: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