Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save egulias/3077506 to your computer and use it in GitHub Desktop.
Save egulias/3077506 to your computer and use it in GitHub Desktop.
Result for the Symfony 2 command container:debug:listeners --event=kernel.request of my bundle.
[container] Public (services) listeners
Name Event Class Name
assetic.request_listener kernel.request Symfony\Bundle\AsseticBundle\EventListener\RequestListener
egulias_extra_cli_tools.example kernel.request Egulias\ExtraCLIToolsBundle\EventListener\TestListener
profiler_listener kernel.request Symfony\Component\HttpKernel\EventListener\ProfilerListener
router_listener kernel.request Symfony\Bundle\FrameworkBundle\EventListener\RouterListener
router_listener kernel.request Symfony\Bundle\FrameworkBundle\EventListener\RouterListener
security.firewall kernel.request Symfony\Component\Security\Http\Firewall
session_listener kernel.request Symfony\Bundle\FrameworkBundle\EventListener\SessionListener
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment