Skip to content

Commit 5187768

Browse files
committed
fix name of the Yaml component
The component name that is used in the code as well as in the issue tracker used by the symfony/symfony repository is Yaml (instead of YAML). Therefore, this should also be the name being used in the documentation.
1 parent 7cbad6d commit 5187768

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

components/dependency_injection/introduction.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ Loading a YAML config file::
209209
.. note::
210210

211211
If you want to load YAML config files then you will also need to install
212-
:doc:`The YAML component </components/yaml/introduction>`.
212+
:doc:`the Yaml component </components/yaml/introduction>`.
213213

214214
If you *do* want to use PHP to create the services then you can move this
215215
into a separate config file and load it in a similar way::

components/yaml/introduction.rst

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,23 @@
22
single: Yaml
33
single: Components; Yaml
44

5-
The YAML Component
5+
The Yaml Component
66
==================
77

8-
The YAML Component loads and dumps YAML files.
8+
The Yaml component loads and dumps YAML files.
99

1010
What is It?
1111
-----------
1212

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.
1414
It is also able to convert PHP arrays to YAML strings.
1515

1616
`YAML`_, *YAML Ain't Markup Language*, is a human friendly data serialization
1717
standard for all programming languages. YAML is a great format for your
1818
configuration files. YAML files are as expressive as XML files and as readable
1919
as INI files.
2020

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
2222
specification.
2323

2424
.. tip::
@@ -40,8 +40,9 @@ Why?
4040
Fast
4141
~~~~
4242

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.
4546

4647
Real Parser
4748
~~~~~~~~~~~
@@ -75,10 +76,10 @@ Full Merge Key Support
7576
Full support for references, aliases, and full merge key. Don't repeat
7677
yourself by referencing common configuration bits.
7778

78-
Using the Symfony2 YAML Component
79+
Using the Symfony2 Yaml Component
7980
---------------------------------
8081

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:
8283
one parses YAML strings (:class:`Symfony\\Component\\Yaml\\Parser`), and the
8384
other dumps a PHP array to a YAML string
8485
(:class:`Symfony\\Component\\Yaml\\Dumper`).

0 commit comments

Comments
 (0)