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.
redir/includes/kohana/vendor/symfony/yaml/Symfony/Component/Yaml
2013-04-13 16:36:38 +10:00
..
Exception Updated to KH 3.3 and improved 2013-04-13 16:36:38 +10:00
Tests Updated to KH 3.3 and improved 2013-04-13 16:36:38 +10:00
CHANGELOG.md Updated to KH 3.3 and improved 2013-04-13 16:36:38 +10:00
composer.json Updated to KH 3.3 and improved 2013-04-13 16:36:38 +10:00
Dumper.php Updated to KH 3.3 and improved 2013-04-13 16:36:38 +10:00
Escaper.php Updated to KH 3.3 and improved 2013-04-13 16:36:38 +10:00
Inline.php Updated to KH 3.3 and improved 2013-04-13 16:36:38 +10:00
LICENSE Updated to KH 3.3 and improved 2013-04-13 16:36:38 +10:00
Parser.php Updated to KH 3.3 and improved 2013-04-13 16:36:38 +10:00
phpunit.xml.dist Updated to KH 3.3 and improved 2013-04-13 16:36:38 +10:00
README.md Updated to KH 3.3 and improved 2013-04-13 16:36:38 +10:00
Unescaper.php Updated to KH 3.3 and improved 2013-04-13 16:36:38 +10:00
Yaml.php Updated to KH 3.3 and improved 2013-04-13 16:36:38 +10: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