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.
lnkohana/vendor/symfony/yaml/Symfony/Component/Yaml
2013-04-22 14:09:50 +10:00
..
Exception Kohana v3.3.0 2013-04-22 14:09:50 +10:00
Tests Kohana v3.3.0 2013-04-22 14:09:50 +10:00
CHANGELOG.md Kohana v3.3.0 2013-04-22 14:09:50 +10:00
composer.json Kohana v3.3.0 2013-04-22 14:09:50 +10:00
Dumper.php Kohana v3.3.0 2013-04-22 14:09:50 +10:00
Escaper.php Kohana v3.3.0 2013-04-22 14:09:50 +10:00
Inline.php Kohana v3.3.0 2013-04-22 14:09:50 +10:00
LICENSE Kohana v3.3.0 2013-04-22 14:09:50 +10:00
Parser.php Kohana v3.3.0 2013-04-22 14:09:50 +10:00
phpunit.xml.dist Kohana v3.3.0 2013-04-22 14:09:50 +10:00
README.md Kohana v3.3.0 2013-04-22 14:09:50 +10:00
Unescaper.php Kohana v3.3.0 2013-04-22 14:09:50 +10:00
Yaml.php Kohana v3.3.0 2013-04-22 14:09:50 +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