Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions event_dispatcher.rst
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,17 @@ its name:

$ php bin/console debug:event-dispatcher kernel.exception

or can get everything which partial matches the event name:

.. code-block:: terminal

$ php bin/console debug:event-dispatcher kernel // matches "kernel.exception", "kernel.response" etc.
$ php bin/console debug:event-dispatcher Security // matches "Symfony\Component\Security\Http\Event\CheckPassportEvent"

.. versionadded:: 5.3

The ability to match partial event names was introduced in Symfony 5.3.

The :doc:`new experimental Security </security/experimental_authenticators>`
system adds an event dispatcher per firewall. Use the ``--dispatcher`` option to
get the registered listeners for a particular event dispatcher:
Expand Down