summaryrefslogtreecommitdiffstats
path: root/vendor/symfony/yaml/Symfony/Component/Yaml/README.md
blob: 85a9786735afb6e32b4a2924d1174838771793b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Yaml Component
==============

YAML implements most of the YAML 1.2 specification.

```php
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