Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b594b02

Browse filesBrowse files
committed
feature #14659 [EventDispatcher] Show partial matching for debug:event-dispatcher (Nyholm)
This PR was squashed before being merged into the 5.3-dev branch. Discussion ---------- [EventDispatcher] Show partial matching for debug:event-dispatcher This will fix #14657 #SymfonyHackday Commits ------- 3f0bf94 [EventDispatcher] Show partial matching for debug:event-dispatcher
2 parents e68926f + 3f0bf94 commit b594b02
Copy full SHA for b594b02

File tree

1 file changed

+11
-0
lines changed
Filter options

1 file changed

+11
-0
lines changed

‎event_dispatcher.rst

Copy file name to clipboardExpand all lines: event_dispatcher.rst
+11Lines 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+
or can get everything which partial matches the event name:
326+
327+
.. code-block:: terminal
328+
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"
331+
332+
.. versionadded:: 5.3
333+
334+
The ability to match partial event names was introduced in Symfony 5.3.
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.