Skip to content

Commit db7b78f

Browse files
committed
Reworded the explanation about the kernel.event_listener tag
1 parent 99f7a26 commit db7b78f

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

reference/dic_tags.rst

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -476,15 +476,12 @@ kernel.event_listener
476476

477477
**Purpose**: To listen to different events/hooks in Symfony
478478

479-
This tag allows you to hook your own classes into Symfony's process at different
480-
points.
479+
During the execution of a Symfony application, different events are triggered.
480+
This tag allows you to *hook* your own classes into any of those events.
481481

482482
For a full example of this listener, read the :doc:`/cookbook/event_dispatcher/event_listener`
483483
cookbook entry.
484484

485-
For another practical example of a kernel listener, see the cookbook
486-
article: :doc:`/cookbook/request/mime_type`.
487-
488485
Core Event Listener Reference
489486
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
490487

0 commit comments

Comments
 (0)