Skip to content

Commit cdd6cd2

Browse files
NyholmOskarStark
andauthored
Apply suggestions from code review
Co-authored-by: Oskar Stark <[email protected]>
1 parent 4dc52ca commit cdd6cd2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

event_dispatcher.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -322,12 +322,12 @@ its name:
322322
323323
$ php bin/console debug:event-dispatcher kernel.exception
324324
325-
or can get everything matching "kernel" (i.e. ``kernel.exception``, ``kernel.response`` etc.):
325+
or can get everything which partial matches the event name:
326326

327327
.. code-block:: terminal
328328
329-
$ php bin/console debug:event-dispatcher kernel
330-
$ php bin/console debug:event-dispatcher App
329+
$ php bin/console debug:event-dispatcher kernel // matches "kernel.exception", "kernel.response" etc.
330+
$ php bin/console debug:event-dispatcher Security // matches "Symfony\Component\Security\Http\Event\CheckPassportEvent"
331331
332332
.. versionadded:: 5.3
333333

0 commit comments

Comments
 (0)