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