Skip to content

Commit 0b7fe6a

Browse files
committed
Reworded the explanation about the kernel.event_listener tag
1 parent 68db46c commit 0b7fe6a

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

reference/dic_tags.rst

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -540,14 +540,16 @@ kernel.event_listener
540540

541541
**Purpose**: To listen to different events/hooks in Symfony
542542

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

546-
For a full example of this listener, read the :doc:`/cookbook/service_container/event_listener`
547-
cookbook entry.
546+
The cookbook contains some articles explaining how to use this tag in practice:
548547

549-
For another practical example of a kernel listener, see the cookbook
550-
article: :doc:`/cookbook/request/mime_type`.
548+
* :doc:`/cookbook/service_container/event_listener`;
549+
* :doc:`/cookbook/request/mime_type`.
550+
551+
Read the :doc:`Symfony Events Reference </reference/events>` to learn the full
552+
details of all the events provided by Symfony.
551553

552554
Core Event Listener Reference
553555
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)