Skip to content

Commit 9eb78b4

Browse files
committed
[EventDispatcher] Show partial matching for debug:event-dispatcher
1 parent 78eaf54 commit 9eb78b4

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
Learn more
326337
----------
327338

0 commit comments

Comments
 (0)