|
2 | 2 | single: Yaml
|
3 | 3 | single: Components; Yaml
|
4 | 4 |
|
5 |
| -The YAML Component |
| 5 | +The Yaml Component |
6 | 6 | ==================
|
7 | 7 |
|
8 |
| - The YAML Component loads and dumps YAML files. |
| 8 | + The Yaml component loads and dumps YAML files. |
9 | 9 |
|
10 | 10 | What is It?
|
11 | 11 | -----------
|
12 | 12 |
|
13 |
| -The Symfony2 YAML Component parses YAML strings to convert them to PHP arrays. |
| 13 | +The Symfony2 Yaml component parses YAML strings to convert them to PHP arrays. |
14 | 14 | It is also able to convert PHP arrays to YAML strings.
|
15 | 15 |
|
16 | 16 | `YAML`_, *YAML Ain't Markup Language*, is a human friendly data serialization
|
17 | 17 | standard for all programming languages. YAML is a great format for your
|
18 | 18 | configuration files. YAML files are as expressive as XML files and as readable
|
19 | 19 | as INI files.
|
20 | 20 |
|
21 |
| -The Symfony2 YAML Component implements the YAML 1.2 version of the |
| 21 | +The Symfony2 Yaml component implements the YAML 1.2 version of the |
22 | 22 | specification.
|
23 | 23 |
|
24 | 24 | .. tip::
|
|
40 | 40 | Fast
|
41 | 41 | ~~~~
|
42 | 42 |
|
43 |
| -One of the goal of Symfony YAML is to find the right balance between speed and |
44 |
| -features. It supports just the needed feature to handle configuration files. |
| 43 | +One of the goals of the Symfony Yaml component is to find the right balance |
| 44 | +between speed and features. It supports just the needed features to handle |
| 45 | +configuration files. |
45 | 46 |
|
46 | 47 | Real Parser
|
47 | 48 | ~~~~~~~~~~~
|
@@ -75,10 +76,10 @@ Full Merge Key Support
|
75 | 76 | Full support for references, aliases, and full merge key. Don't repeat
|
76 | 77 | yourself by referencing common configuration bits.
|
77 | 78 |
|
78 |
| -Using the Symfony2 YAML Component |
| 79 | +Using the Symfony2 Yaml Component |
79 | 80 | ---------------------------------
|
80 | 81 |
|
81 |
| -The Symfony2 YAML Component is very simple and consists of two main classes: |
| 82 | +The Symfony2 Yaml component is very simple and consists of two main classes: |
82 | 83 | one parses YAML strings (:class:`Symfony\\Component\\Yaml\\Parser`), and the
|
83 | 84 | other dumps a PHP array to a YAML string
|
84 | 85 | (:class:`Symfony\\Component\\Yaml\\Dumper`).
|
|
0 commit comments