Skip to content

Commit

Permalink
[Doc] Use Markdown syntax highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
lologhi authored and fabpot committed Oct 1, 2014
1 parent 2f2c974 commit 34687c6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ Yaml Component

YAML implements most of the YAML 1.2 specification.

use Symfony\Component\Yaml\Yaml;
```php
use Symfony\Component\Yaml\Yaml;

$array = Yaml::parse($file);
$array = Yaml::parse($file);

print Yaml::dump($array);
print Yaml::dump($array);
```

Resources
---------
Expand Down

0 comments on commit 34687c6

Please sign in to comment.