mirror of https://github.com/hauke68/Magallanes
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
347 B
19 lines
347 B
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
|
|
$ phpunit
|
|
|