fea6b79acd
This is the first step to make each Symfony Component and Bridge self-contained. |
||
---|---|---|
.. | ||
Exception | ||
Tests | ||
composer.json | ||
Dumper.php | ||
Escaper.php | ||
Inline.php | ||
LICENSE | ||
Parser.php | ||
phpunit.xml.dist | ||
README.md | ||
Unescaper.php | ||
Yaml.php |
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:
phpunit -c src/Symfony/Component/Yaml/