File tree Expand file tree Collapse file tree 1 file changed +6
-14
lines changed Expand file tree Collapse file tree 1 file changed +6
-14
lines changed Original file line number Diff line number Diff line change 1
1
Yaml Component
2
2
==============
3
3
4
- YAML implements most of the YAML 1.2 specification.
5
-
6
- ``` php
7
- use Symfony\Component\Yaml\Yaml;
8
-
9
- $array = Yaml::parse(file_get_contents(filename));
10
-
11
- print Yaml::dump($array);
12
- ```
4
+ The Yaml component loads and dumps YAML files.
13
5
14
6
Resources
15
7
---------
16
8
17
- You can run the unit tests with the following command:
18
-
19
- $ cd path/to/Symfony/Component/Yaml/
20
- $ composer install
21
- $ phpunit
9
+ * [ Documentation ] ( https://symfony.com/doc/current/components/yaml/index.html )
10
+ * [ Contributing ] ( https://symfony.com/doc/current/contributing/index.html )
11
+ * [ Report issues ] ( https://github.com/symfony/symfony/issues ) and
12
+ [ send Pull Requests ] ( https://github.com/symfony/symfony/pulls )
13
+ in the [ main Symfony repository ] ( https://github.com/symfony/symfony )
You can’t perform that action at this time.
0 commit comments