This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
khosb/includes/kohana/vendor/symfony/yaml/Symfony/Component/Yaml
2012-12-21 12:59:09 +11:00
..
Exception Upgraded to KH 3.3.0 2012-12-21 12:59:09 +11:00
Tests Upgraded to KH 3.3.0 2012-12-21 12:59:09 +11:00
CHANGELOG.md Upgraded to KH 3.3.0 2012-12-21 12:59:09 +11:00
composer.json Upgraded to KH 3.3.0 2012-12-21 12:59:09 +11:00
Dumper.php Upgraded to KH 3.3.0 2012-12-21 12:59:09 +11:00
Escaper.php Upgraded to KH 3.3.0 2012-12-21 12:59:09 +11:00
Inline.php Upgraded to KH 3.3.0 2012-12-21 12:59:09 +11:00
LICENSE Upgraded to KH 3.3.0 2012-12-21 12:59:09 +11:00
Parser.php Upgraded to KH 3.3.0 2012-12-21 12:59:09 +11:00
phpunit.xml.dist Upgraded to KH 3.3.0 2012-12-21 12:59:09 +11:00
README.md Upgraded to KH 3.3.0 2012-12-21 12:59:09 +11:00
Unescaper.php Upgraded to KH 3.3.0 2012-12-21 12:59:09 +11:00
Yaml.php Upgraded to KH 3.3.0 2012-12-21 12:59:09 +11: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:

phpunit