Skip to content

Commit b47169c

Browse files
author
frne
committed
Style / grammar fixes for the configuration chapter
1 parent 9c7c42d commit b47169c

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

cookbook/configuration/apache_router.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
How to Use the Apache Router
55
============================
66

7-
Symfony, while fast out of the box, also provides various ways to increase that speed with a little bit of tweaking.
7+
Symfony, while fast out of the box, also provides various ways to increase that speed with a bit of tweaking.
88
One of these ways is by letting Apache handle routes directly, rather than using Symfony for this task.
99

1010
Change Router Configuration Parameters
@@ -122,7 +122,7 @@ You're now all set to use Apache routes.
122122
Additional Tweaks
123123
-----------------
124124

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

128128
// 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
@@ -171,10 +171,10 @@ environment by using this code and changing the environment string.
171171

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

325325
Some environments, like the ``dev`` environment, are never meant to be
326-
accessed on any deployed server by the general public. This is because
326+
accessed on any deployed server by the public. This is because
327327
certain environments, for debugging purposes, may give too much information
328328
about the application or underlying infrastructure. To be sure these environments
329329
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
88
file(s). Most medium to large websites use a database to store the session
99
values 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`.
@@ -17,7 +17,7 @@ configuration format of your choice):
1717
.. versionadded:: 2.1
1818
In Symfony 2.1 the class and namespace are slightly modified. You can now
1919
find the session storage classes in the ``Session\Storage`` namespace:
20-
``Symfony\Component\HttpFoundation\Session\Storage``. Also
20+
``Symfony\Component\HttpFoundation\Session\Storage``. Also,
2121
note that in Symfony 2.1 you should configure ``handler_id`` not ``storage_id`` like in Symfony 2.0.
2222
Below, you'll notice that ``%session.storage.options%`` is not used anymore.
2323

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 this example with the AcmeDemoBundle::
1515

0 commit comments

Comments
 (0)