Aucune description

sunhao fe08a6fbcc 初始 il y a 5 ans
..
Exception fe08a6fbcc 初始 il y a 5 ans
Tests fe08a6fbcc 初始 il y a 5 ans
.gitignore fe08a6fbcc 初始 il y a 5 ans
CHANGELOG.md fe08a6fbcc 初始 il y a 5 ans
Dumper.php fe08a6fbcc 初始 il y a 5 ans
Escaper.php fe08a6fbcc 初始 il y a 5 ans
Inline.php fe08a6fbcc 初始 il y a 5 ans
LICENSE fe08a6fbcc 初始 il y a 5 ans
Parser.php fe08a6fbcc 初始 il y a 5 ans
README.md fe08a6fbcc 初始 il y a 5 ans
Unescaper.php fe08a6fbcc 初始 il y a 5 ans
Yaml.php fe08a6fbcc 初始 il y a 5 ans
composer.json fe08a6fbcc 初始 il y a 5 ans
phpunit.xml.dist fe08a6fbcc 初始 il y a 5 ans

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.phar install
$ phpunit