Files
faveo/vendor/symfony/yaml
2016-01-04 18:05:45 +05:30
..
2016-01-04 18:05:45 +05:30
2016-01-04 18:05:45 +05:30
2015-12-22 14:09:23 +05:30
2016-01-04 18:05:45 +05:30
2016-01-04 18:05:45 +05:30
2015-12-22 14:09:23 +05:30
2016-01-04 18:05:45 +05:30
2016-01-04 18:05:45 +05:30
2015-12-22 14:09:23 +05:30
2016-01-04 18:05:45 +05:30
2016-01-04 18:05:45 +05:30
2015-12-22 14:09:23 +05:30
2016-01-04 18:05:45 +05:30
2016-01-04 18:05:45 +05:30

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