Skip to content

Commit 136864b

Browse files
committed
minor #3844 [Components] Fixed some minor typos. (ahsio)
This PR was merged into the 2.3 branch. Discussion ---------- [Components] Fixed some minor typos. | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all (or 2.3+) | Fixed tickets | Commits ------- 86d1cf3 Fixed some minor typos.
2 parents b0710bc + 86d1cf3 commit 136864b

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

components/dependency_injection/configurators.rst

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Session attributes
113113
* :method:`Symfony\\Component\\HttpFoundation\\Session\\Session::clear`:
114114
Clear all attributes.
115115

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

119119
* :method:`Symfony\\Component\\HttpFoundation\\Session\\Session::registerBag`:
@@ -137,7 +137,7 @@ Session Data Management
137137
~~~~~~~~~~~~~~~~~~~~~~~
138138

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

@@ -236,7 +236,7 @@ Flash Messages
236236

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

components/using_components.rst

Lines changed: 1 addition & 1 deletion
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)