Skip to content

Instantly share code, notes, and snippets.

@MDrollette
Created June 26, 2012 00:54
Show Gist options
  • Save MDrollette/2992399 to your computer and use it in GitHub Desktop.
Save MDrollette/2992399 to your computer and use it in GitHub Desktop.
<?xml version="1.0" ?>
<container xmlns="http://symfony.com/schema/dic/services"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
<services>
<service id="sotb_core.listener.before_controller" class="SOTB\CoreBundle\EventListener\BeforeControllerListener" scope="request">
<tag name="kernel.event_listener" event="kernel.controller" method="onKernelController"/>
<argument type="service" id="security.context"/>
</service>
</services>
</container>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment