Bachir Soussi Chiadmi ad38015ea9 first commit : grave core and admin plugin 9 years ago
..
Exception ad38015ea9 first commit : grave core and admin plugin 9 years ago
Tests ad38015ea9 first commit : grave core and admin plugin 9 years ago
CHANGELOG.md ad38015ea9 first commit : grave core and admin plugin 9 years ago
Dumper.php ad38015ea9 first commit : grave core and admin plugin 9 years ago
Escaper.php ad38015ea9 first commit : grave core and admin plugin 9 years ago
Inline.php ad38015ea9 first commit : grave core and admin plugin 9 years ago
LICENSE ad38015ea9 first commit : grave core and admin plugin 9 years ago
Parser.php ad38015ea9 first commit : grave core and admin plugin 9 years ago
README.md ad38015ea9 first commit : grave core and admin plugin 9 years ago
Unescaper.php ad38015ea9 first commit : grave core and admin plugin 9 years ago
Yaml.php ad38015ea9 first commit : grave core and admin plugin 9 years ago
composer.json ad38015ea9 first commit : grave core and admin plugin 9 years ago
phpunit.xml.dist ad38015ea9 first commit : grave core and admin plugin 9 years ago

README.md

Yaml Component

YAML implements most of the YAML 1.2 specification.

use Symfony\Component\Yaml\Yaml;

$array = Yaml::parse(file_get_contents(filename));

print Yaml::dump($array);

Resources

You can run the unit tests with the following command:

$ cd path/to/Symfony/Component/Yaml/
$ composer install
$ phpunit