Skip to content

Commit 2ec4855

Browse files
frnejaviereguiluz
frne
authored andcommitted
Style / grammar fixes for the bundles chapter
1 parent bed8824 commit 2ec4855

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

cookbook/bundles/configuration.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ The ``Configuration`` class to handle the sample configuration looks like::
210210
supporting "prototype" nodes, advanced validation, XML-specific normalization
211211
and advanced merging. You can read more about this in
212212
:doc:`the Config component documentation </components/config/definition>`. You
213-
can also see it in action by checking out some of the core Configuration
213+
can also see it in action by checking out some core Configuration
214214
classes, such as the one from the `FrameworkBundle Configuration`_ or the
215215
`TwigBundle Configuration`_.
216216

@@ -227,7 +227,7 @@ thrown)::
227227
}
228228

229229
The ``processConfiguration()`` method uses the configuration tree you've defined
230-
in the ``Configuration`` class to validate, normalize and merge all of the
230+
in the ``Configuration`` class to validate, normalize and merge all the
231231
configuration arrays together.
232232

233233
.. tip::
@@ -253,7 +253,7 @@ configuration arrays together.
253253
}
254254

255255
This class uses the ``getConfiguration()`` method to get the Configuration
256-
instance, you should override it if your Configuration class is not called
256+
instance. You should override it, if your Configuration class is not called
257257
``Configuration`` or if it is not placed in the same namespace as the
258258
extension.
259259

cookbook/bundles/override.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ In this example you fetch the service definition of the original service, and se
9090
its class name to your own class.
9191

9292
See :doc:`/cookbook/service_container/compiler_passes` for information on how to use
93-
compiler passes. If you want to do something beyond just overriding the class -
94-
like adding a method call - you can only use the compiler pass method.
93+
compiler passes. If you want to do something beyond just overriding the class,
94+
like adding a method call, you can only use the compiler pass method.
9595

9696
Entities & Entity Mapping
9797
-------------------------

cookbook/bundles/prepend_extension.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ often need to be repeated for various bundles.
1515
Using the below approach, it is possible to remove the disadvantage of the
1616
multiple bundle approach by enabling a single Extension to prepend the settings
1717
for any bundle. It can use the settings defined in the ``app/config/config.yml``
18-
to prepend settings just as if they would have been written explicitly by
18+
to prepend settings just as if they had been written explicitly by
1919
the user in the application configuration.
2020

2121
For example, this could be used to configure the entity manager name to use in

cookbook/bundles/remove.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Remove the ``_acme_demo`` entry at the bottom of this file.
5656

5757
Some bundles contain configuration in one of the ``app/config/config*.yml``
5858
files. Be sure to remove the related configuration from these files. You can
59-
quickly spot bundle configuration by looking for a ``acme_demo`` (or whatever
59+
quickly spot bundle configuration by looking for an ``acme_demo`` (or whatever
6060
the name of the bundle is, e.g. ``fos_user`` for the FOSUserBundle) string in
6161
the configuration files.
6262

0 commit comments

Comments
 (0)