sajad torkamani
./bin/console debug:event-dispatcher

Example output:

"kernel.controller_arguments" event
-----------------------------------

 ------- ----------------------------------------------------------------------------------- ---------- 
  Order   Callable                                                                            Priority  
 ------- ----------------------------------------------------------------------------------- ---------- 
  #1      Symfony\Component\HttpKernel\EventListener\ErrorListener::onControllerArguments()   0         
 ------- ----------------------------------------------------------------------------------- ---------- 

"kernel.exception" event
------------------------

 ------- -------------------------------------------------------------------------------- ---------- 
  Order   Callable                                                                         Priority  
 ------- -------------------------------------------------------------------------------- ---------- 
  #1      Symfony\Component\HttpKernel\EventListener\ErrorListener::logKernelException()   0         
  #2      Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelException()   -64       
  #3      Symfony\Component\HttpKernel\EventListener\ErrorListener::onKernelException()    -128      
 ------- -------------------------------------------------------------------------------- ---------- 

"kernel.finish_request" event
-----------------------------

 ------- ------------------------------------------------------------------------------------ ---------- 
  Order   Callable                                                                             Priority  
 ------- ------------------------------------------------------------------------------------ ---------- 
  #1      Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelFinishRequest()   0         
  #2      Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelFinishRequest()   0         
 ------- ------------------------------------------------------------------------------------ ---------- 

"kernel.request" event
----------------------

 ------- --------------------------------------------------------------------------------------- ---------- 
  Order   Callable                                                                                Priority  
 ------- --------------------------------------------------------------------------------------- ---------- 
  #1      Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure()           2048      
  #2      Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest()   256       
  #3      Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest()           128       
  #4      Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale()           100       
  #5      Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest()            32        
  #6      Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest()            16        
 ------- --------------------------------------------------------------------------------------- ---------- 

"kernel.response" event
-----------------------

 ------- ----------------------------------------------------------------------------------------- ---------- 
  Order   Callable                                                                                  Priority  
 ------- ----------------------------------------------------------------------------------------- ---------- 
  #1      Symfony\Component\HttpKernel\EventListener\ResponseListener::onKernelResponse()           0         
  #2      Symfony\Component\HttpKernel\EventListener\ErrorListener::removeCspHeader()               -128      
  #3      Symfony\Component\HttpKernel\EventListener\DisallowRobotsIndexingListener::onResponse()   -255      
  #4      Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelResponse()            -1000     
 ------- ----------------------------------------------------------------------------------------- ---------- 
Tagged: Symfony

Leave a comment

Your email address will not be published. Required fields are marked *