Skip to content

Commit 44086c5

Browse files
committed
[EventDispatcher] Show partial matching for debug:event-dispatcher
1 parent e68926f commit 44086c5

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

event_dispatcher.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,17 @@ its name:
322322
323323
$ php bin/console debug:event-dispatcher kernel.exception
324324
325+
.. versionadded:: 5.3
326+
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:
329+
330+
.. code-block:: terminal
331+
332+
$ php bin/console debug:event-dispatcher kernel
333+
$ php bin/console debug:event-dispatcher App
334+
$ php bin/console debug:event-dispatcher Security
335+
325336
The :doc:`new experimental Security </security/experimental_authenticators>`
326337
system adds an event dispatcher per firewall. Use the ``--dispatcher`` option to
327338
get the registered listeners for a particular event dispatcher:

0 commit comments

Comments
 (0)