mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2024-11-23 13:06:02 +03:00
20 lines
353 B
Markdown
20 lines
353 B
Markdown
|
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
|