File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
cookbook/service_container Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -133,3 +133,20 @@ done as follow::
133133 Two types of request are available in the :class: `Symfony\\ Component\\ HttpKernel\\ HttpKernelInterface `
134134 interface: ``HttpKernelInterface::MASTER_REQUEST `` and
135135 ``HttpKernelInterface::SUB_REQUEST ``.
136+
137+ Debugging Event Listeners
138+ -------------------------
139+
140+ You can find out what listeners are registered in the event dispatcher
141+ using the console. To show all events and their listeners, run:
142+
143+ .. code-block :: bash
144+
145+ $ php app/console debug:event-dispatcher
146+
147+ You can get registered listeners for a particular event by specifying
148+ its name:
149+
150+ .. code-block :: bash
151+
152+ $ php app/console debug:event-dispatcher kernel.exception
You can’t perform that action at this time.
0 commit comments