Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save egulias/3160836 to your computer and use it in GitHub Desktop.
Save egulias/3160836 to your computer and use it in GitHub Desktop.
Result for the Symfony 2.1 command container:debug:listeners --subscribers of my bundle
[container] Public (services) listeners
Name Event Type Class Name
acme.demo.listener.subscriber kernel.response subscriber Acme\DemoBundle\EventListener\SubscriberController
locale_listener kernel.request subscriber Symfony\Component\HttpKernel\EventListener\LocaleListener
profiler_listener kernel.request subscriber Symfony\Component\HttpKernel\EventListener\ProfilerListener
profiler_listener kernel.response subscriber Symfony\Component\HttpKernel\EventListener\ProfilerListener
profiler_listener kernel.exception subscriber Symfony\Component\HttpKernel\EventListener\ProfilerListener
response_listener kernel.response subscriber Symfony\Component\HttpKernel\EventListener\ResponseListener
router_listener kernel.request subscriber Symfony\Component\HttpKernel\EventListener\RouterListener
session_listener kernel.request subscriber Symfony\Bundle\FrameworkBundle\EventListener\SessionListener
streamed_response_listener kernel.response subscriber Symfony\Component\HttpKernel\EventListener\StreamedResponseListener
swiftmailer.email_sender.listener kernel.terminate subscriber Symfony\Bundle\SwiftmailerBundle\EventListener\EmailSenderListener
twig.exception_listener kernel.exception subscriber Symfony\Component\HttpKernel\EventListener\ExceptionListener
web_profiler.debug_toolbar kernel.response subscriber Symfony\Bundle\WebProfilerBundle\EventListener\WebDebugToolbarListener
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment