File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -322,6 +322,17 @@ its name:
322
322
323
323
$ php bin/console debug:event-dispatcher kernel.exception
324
324
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
+
325
336
The :doc: `new experimental Security </security/experimental_authenticators >`
326
337
system adds an event dispatcher per firewall. Use the ``--dispatcher `` option to
327
338
get the registered listeners for a particular event dispatcher:
You can’t perform that action at this time.
0 commit comments