Bachir Soussi Chiadmi ad38015ea9 first commit : grave core and admin plugin 9 лет назад
..
Exception ad38015ea9 first commit : grave core and admin plugin 9 лет назад
Tests ad38015ea9 first commit : grave core and admin plugin 9 лет назад
CHANGELOG.md ad38015ea9 first commit : grave core and admin plugin 9 лет назад
Dumper.php ad38015ea9 first commit : grave core and admin plugin 9 лет назад
Escaper.php ad38015ea9 first commit : grave core and admin plugin 9 лет назад
Inline.php ad38015ea9 first commit : grave core and admin plugin 9 лет назад
LICENSE ad38015ea9 first commit : grave core and admin plugin 9 лет назад
Parser.php ad38015ea9 first commit : grave core and admin plugin 9 лет назад
README.md ad38015ea9 first commit : grave core and admin plugin 9 лет назад
Unescaper.php ad38015ea9 first commit : grave core and admin plugin 9 лет назад
Yaml.php ad38015ea9 first commit : grave core and admin plugin 9 лет назад
composer.json ad38015ea9 first commit : grave core and admin plugin 9 лет назад
phpunit.xml.dist ad38015ea9 first commit : grave core and admin plugin 9 лет назад

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