Skip to content

Commit 21ebbd4

Browse files
frnejaviereguiluz
frne
authored andcommitted
Style / grammar fixes for the configuration chapter
1 parent ba6f59f commit 21ebbd4

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

cookbook/configuration/apache_router.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ You're now all set to use Apache routes.
133133
Additional Tweaks
134134
-----------------
135135

136-
To save a little bit of processing time, change occurrences of ``Request``
136+
To save some processing time, change occurrences of ``Request``
137137
to ``ApacheRequest`` in ``web/app.php``::
138138

139139
// web/app.php

cookbook/configuration/environments.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ How to Master and Create new Environments
66

77
Every application is the combination of code and a set of configuration that
88
dictates how that code should function. The configuration may define the
9-
database being used, whether or not something should be cached, or how verbose
9+
database being used, whether something should be cached, or how verbose
1010
logging should be. In Symfony, the idea of "environments" is the idea that
1111
the same codebase can be run using multiple different configurations. For
1212
example, the ``dev`` environment should use configuration that makes development
@@ -170,10 +170,10 @@ this code and changing the environment string.
170170

171171
Important, but unrelated to the topic of *environments* is the ``false``
172172
argument as the second argument to the ``AppKernel`` constructor. This
173-
specifies whether or not the application should run in "debug mode". Regardless
173+
specifies if the application should run in "debug mode". Regardless
174174
of the environment, a Symfony application can be run with debug mode
175175
set to ``true`` or ``false``. This affects many things in the application,
176-
such as whether or not errors should be displayed or if cache files are
176+
such as if errors should be displayed or if cache files are
177177
dynamically rebuilt on each request. Though not a requirement, debug mode
178178
is generally set to ``true`` for the ``dev`` and ``test`` environments
179179
and ``false`` for the ``prod`` environment.
@@ -322,7 +322,7 @@ The new environment is now accessible via::
322322
.. note::
323323

324324
Some environments, like the ``dev`` environment, are never meant to be
325-
accessed on any deployed server by the general public. This is because
325+
accessed on any deployed server by the public. This is because
326326
certain environments, for debugging purposes, may give too much information
327327
about the application or underlying infrastructure. To be sure these environments
328328
aren't accessible, the front controller is usually protected from external

cookbook/configuration/front_controllers_and_kernel.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ The main purpose of the front controller is to create an instance of the
3939
and return the resulting response to the browser.
4040

4141
Because every request is routed through it, the front controller can be
42-
used to perform global initializations prior to setting up the kernel or
42+
used to perform global initialization prior to setting up the kernel or
4343
to `decorate`_ the kernel with additional features. Examples include:
4444

4545
* Configuring the autoloader or adding additional autoloading mechanisms;

cookbook/configuration/pdo_session_storage.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ How to Use PdoSessionHandler to Store Sessions in the Database
77
The default Symfony session storage writes the session information to files.
88
Most medium to large websites use a database to store the session values
99
instead of files, because databases are easier to use and scale in a
10-
multi-webserver environment.
10+
multi webserver environment.
1111

1212
Symfony has a built-in solution for database session storage called
1313
:class:`Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\PdoSessionHandler`.
@@ -16,7 +16,7 @@ To use it, you just need to change some parameters in the main configuration fil
1616
.. versionadded:: 2.1
1717
In Symfony 2.1 the class and namespace are slightly modified. You can now
1818
find the session storage classes in the ``Session\Storage`` namespace:
19-
``Symfony\Component\HttpFoundation\Session\Storage``. Also
19+
``Symfony\Component\HttpFoundation\Session\Storage``. Also,
2020
note that in Symfony 2.1 you should configure ``handler_id`` not ``storage_id`` like in Symfony 2.0.
2121
Below, you'll notice that ``%session.storage.options%`` is not used anymore.
2222

cookbook/configuration/using_parameters_in_dic.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ You have seen how to use configuration parameters within
99
There are special cases such as when you want, for instance, to use the
1010
``%kernel.debug%`` parameter to make the services in your bundle enter
1111
debug mode. For this case there is more work to do in order
12-
to make the system understand the parameter value. By default
12+
to make the system understand the parameter value. By default,
1313
your parameter ``%kernel.debug%`` will be treated as a
1414
simple string. Consider the following example::
1515

0 commit comments

Comments
 (0)