Skip to content

Commit 7db3f73

Browse files
committed
minor #8671 Improved the link to the Symfony events reference (javiereguiluz)
This PR was merged into the 2.7 branch. Discussion ---------- Improved the link to the Symfony events reference Commits ------- c808036 Improved the link to the Symfony events reference
2 parents 902be80 + c808036 commit 7db3f73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

event_dispatcher.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ The most common way to listen to an event is to register an **event listener**::
6464

6565
Each event receives a slightly different type of ``$event`` object. For
6666
the ``kernel.exception`` event, it is :class:`Symfony\\Component\\HttpKernel\\Event\\GetResponseForExceptionEvent`.
67-
To see what type of object each event listener receives, see :class:`Symfony\\Component\\HttpKernel\\KernelEvents`
68-
or the documentation about the specific event you're listening to.
67+
Check out the :doc:`Symfony events reference </reference/events>` to see
68+
what type of object each event provides.
6969

7070
Now that the class is created, you just need to register it as a service and
7171
notify Symfony that it is a "listener" on the ``kernel.exception`` event by

0 commit comments

Comments
 (0)