Ei kuvausta

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

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