Skip to content

Commit 86d1cf3

Browse files
committed
Fixed some minor typos.
1 parent 69cb7b8 commit 86d1cf3

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

components/dependency_injection/configurators.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ in a class. The service instance is passed to the callable, allowing the
1212
configurator to do whatever it needs to configure the service after its
1313
creation.
1414

15-
A Service Configurator can be used, for example, when you a have a service that
15+
A Service Configurator can be used, for example, when you have a service that
1616
requires complex setup based on configuration settings coming from different
1717
sources/services. Using an external configurator, you can maintain the service
1818
implementation cleanly and keep it decoupled from the other objects that provide

components/event_dispatcher/introduction.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The Symfony2 EventDispatcher component implements the `Mediator`_ pattern in
2424
a simple and effective way to make all these things possible and to make your
2525
projects truly extensible.
2626

27-
Take a simple example from the :doc:`/components/http_kernel/introduction`. Once a
27+
Take a simple example from :doc:`/components/http_kernel/introduction`. Once a
2828
``Response`` object has been created, it may be useful to allow other elements
2929
in the system to modify it (e.g. add some cache headers) before it's actually
3030
used. To make this possible, the Symfony2 kernel throws an event -

components/http_foundation/sessions.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Session attributes
107107
* :method:`Symfony\\Component\\HttpFoundation\\Session\\Session::clear`:
108108
Clear all attributes.
109109

110-
The attributes are stored internally in an "Bag", a PHP object that acts like
110+
The attributes are stored internally in a "Bag", a PHP object that acts like
111111
an array. A few methods exist for "Bag" management:
112112

113113
* :method:`Symfony\\Component\\HttpFoundation\\Session\\Session::registerBag`:
@@ -131,7 +131,7 @@ Session Data Management
131131
~~~~~~~~~~~~~~~~~~~~~~~
132132

133133
PHP's session management requires the use of the ``$_SESSION`` super-global,
134-
however, this interferes somewhat with code testability and encapsulation in a
134+
however, this interferes somewhat with code testability and encapsulation in an
135135
OOP paradigm. To help overcome this, Symfony2 uses *session bags* linked to the
136136
session to encapsulate a specific dataset of attributes or flash messages.
137137

@@ -230,7 +230,7 @@ Flash messages
230230

231231
The purpose of the :class:`Symfony\\Component\\HttpFoundation\\Session\\Flash\\FlashBagInterface`
232232
is to provide a way of setting and retrieving messages on a per session basis.
233-
The usual workflow for flash messages would be set in an request, and displayed
233+
The usual workflow would be to set flash messages in a request and to display them
234234
after a page redirect. For example, a user submits a form which hits an update
235235
controller, and after processing the controller redirects the page to either the
236236
updated page or an error page. Flash messages set in the previous page request

components/using_components.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ one or more components, the easiest way to integrate everything is with `Compose
1010
Composer is smart enough to download the component(s) that you need and take
1111
care of autoloading so that you can begin using the libraries immediately.
1212

13-
This article will take you through using the :doc:`/components/finder`, though
13+
This article will take you through using :doc:`/components/finder`, though
1414
this applies to using any component.
1515

1616
Using the Finder Component

0 commit comments

Comments
 (0)