mailgun-php/vendor/symfony/yaml/Symfony/Component/Yaml
Travis Swientek e5163bb90b Added PHPUnit
2013-07-18 13:01:36 -05:00
..
Exception Added PHPUnit 2013-07-18 13:01:36 -05:00
Tests Added PHPUnit 2013-07-18 13:01:36 -05:00
.gitignore Added PHPUnit 2013-07-18 13:01:36 -05:00
CHANGELOG.md Added PHPUnit 2013-07-18 13:01:36 -05:00
composer.json Added PHPUnit 2013-07-18 13:01:36 -05:00
Dumper.php Added PHPUnit 2013-07-18 13:01:36 -05:00
Escaper.php Added PHPUnit 2013-07-18 13:01:36 -05:00
Inline.php Added PHPUnit 2013-07-18 13:01:36 -05:00
LICENSE Added PHPUnit 2013-07-18 13:01:36 -05:00
Parser.php Added PHPUnit 2013-07-18 13:01:36 -05:00
phpunit.xml.dist Added PHPUnit 2013-07-18 13:01:36 -05:00
README.md Added PHPUnit 2013-07-18 13:01:36 -05:00
Unescaper.php Added PHPUnit 2013-07-18 13:01:36 -05:00
Yaml.php Added PHPUnit 2013-07-18 13:01:36 -05:00

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:

$ cd path/to/Symfony/Component/Yaml/
$ composer.phar install --dev
$ phpunit