Julio Montoya ae4afdabd6 Updating vendors 11 anni fa
..
Exception 3dd9d88e31 Updating vendors 11 anni fa
Tests ae4afdabd6 Updating vendors 11 anni fa
CHANGELOG.md 32682a9ca8 Updating vendor 12 anni fa
Dumper.php 3dd9d88e31 Updating vendors 11 anni fa
Escaper.php 32682a9ca8 Updating vendor 12 anni fa
Inline.php 3dd9d88e31 Updating vendors 11 anni fa
LICENSE 32682a9ca8 Updating vendor 12 anni fa
Parser.php ae4afdabd6 Updating vendors 11 anni fa
README.md 3dd9d88e31 Updating vendors 11 anni fa
Unescaper.php 3dd9d88e31 Updating vendors 11 anni fa
Yaml.php 3dd9d88e31 Updating vendors 11 anni fa
composer.json 3dd9d88e31 Updating vendors 11 anni fa
phpunit.xml.dist 3dd9d88e31 Updating vendors 11 anni fa

README.md

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

You can run the unit tests with the following command:

$ cd path/to/Symfony/Component/Yaml/
$ composer.phar install --dev
$ phpunit