Skip to content

Commit de2c6b5

Browse files
NyholmOskarStark
andauthored
Update event_dispatcher.rst
Co-authored-by: Oskar Stark <[email protected]>
1 parent 9eb78b4 commit de2c6b5

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

event_dispatcher.rst

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -322,17 +322,16 @@ its name:
322322
323323
$ php bin/console debug:event-dispatcher kernel.exception
324324
325-
.. versionadded:: 5.3
326325
327-
You can also find listeners to event names partially matching a string. Example
328-
to show all events and their listeners related to ``kernel``, your app or Security:
326+
to get everything matching "kernel" (i.e. ``kernel.exception``, ``kernel.response`` etc.) use:
327+
328+
.. code-block:: terminal
329329
330-
.. code-block:: terminal
330+
$ php bin/console debug:event-dispatcher kernel
331331
332-
$ php bin/console debug:event-dispatcher kernel
333-
$ php bin/console debug:event-dispatcher App
334-
$ php bin/console debug:event-dispatcher Security
332+
.. versionadded:: 5.3
335333

334+
The ability to match partial event names was introduced in Symfony 5.3.
336335
Learn more
337336
----------
338337

0 commit comments

Comments
 (0)