Skip to content

Commit b501c41

Browse files
committed
Merge branch '2.8' into 3.3
* 2.8: parameter name typo [#8603] Rewording [BrowserKit] Updated Project URI of Goutte Changed the title of a Doctrine article to avoid confusion Reworded the introduction of event listeners article
2 parents 89e42e6 + df06dd6 commit b501c41

File tree

4 files changed

+13
-12
lines changed

4 files changed

+13
-12
lines changed

components/browser_kit.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,4 +233,4 @@ Learn more
233233
* :doc:`/components/dom_crawler`
234234

235235
.. _`Packagist`: https://packagist.org/packages/symfony/browser-kit
236-
.. _`Goutte`: https://github.com/fabpot/Goutte
236+
.. _`Goutte`: https://github.com/FriendsOfPHP/Goutte

doctrine/event_listeners_subscribers.rst

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
single: Doctrine; Event listeners and subscribers
33

44
.. _doctrine-event-config:
5+
.. _how-to-register-event-listeners-and-subscribers:
56

6-
How to Register Event Listeners and Subscribers
7-
===============================================
7+
Doctrine Event Listeners and Subscribers
8+
========================================
89

910
Doctrine packages have a rich event system that fires events when almost anything
1011
happens inside the system. For you, this means that you can create arbitrary
@@ -188,15 +189,15 @@ For a full reference, see chapter `The Event System`_ in the Doctrine documentat
188189
Lazy loading for Event Listeners
189190
--------------------------------
190191

191-
One subtle difference between listeners and subscribers is that Symfony can load
192+
One subtle difference between listeners and subscribers is that Symfony can load
192193
entity listeners lazily. This means that your listener class will only be fetched
193194
from the service container (and thus be instantiated) once the event it is linked
194195
to actually fires.
195196

196-
Lazy loading might give you a slight performance improvement when your listener
197-
runs for events that rarely fire. Also, it can help you when you run into
197+
Lazy loading might give you a slight performance improvement when your listener
198+
runs for events that rarely fire. Also, it can help you when you run into
198199
*circular dependency issues* that may occur when your listener service in turn
199-
depends on the DBAL connection.
200+
depends on the DBAL connection.
200201

201202
To mark a listener service as lazily loaded, just add the ``lazy`` attribute
202203
to the tag like so:

event_dispatcher.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ During the execution of a Symfony application, lots of event notifications are
99
triggered. Your application can listen to these notifications and respond to
1010
them by executing any piece of code.
1111

12-
Internal events provided by Symfony itself are defined in the
13-
:class:`Symfony\\Component\\HttpKernel\\KernelEvents` class. Third-party bundles
14-
and libraries also trigger lots of events and your own application can trigger
15-
:doc:`custom events </components/event_dispatcher>`.
12+
Symfony triggers several :doc:`events related to the kernel </reference/events>`
13+
while processing the HTTP Request. Third-party bundles may also dispatch events, and
14+
you can even dispatch :doc:`custom events </components/event_dispatcher>` from your
15+
own code.
1616

1717
All the examples shown in this article use the same ``KernelEvents::EXCEPTION``
1818
event for consistency purposes. In your own application, you can use any event

security/form_login.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ several ways.
3434
Changing the default Page
3535
~~~~~~~~~~~~~~~~~~~~~~~~~
3636

37-
Define the ``default_security_target`` option to change the page where the user
37+
Define the ``default_target_path`` option to change the page where the user
3838
is redirected to if no previous page was stored in the session. The value can be
3939
a relative/absolute URL or a Symfony route name:
4040

0 commit comments

Comments
 (0)