Skip to content

Instantly share code, notes, and snippets.

@khepin
Created June 20, 2012 11:38
Show Gist options
  • Save khepin/2959474 to your computer and use it in GitHub Desktop.
Save khepin/2959474 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">
<parameters>
<parameter key="khepin_user_validator.pointcut.class">Khepin\UserValidatorBundle\Aop\Pointcut</parameter>
<parameter key="khepin_user_validator.interceptor.class">Khepin\UserValidatorBundle\Aop\Interceptor</parameter>
</parameters>
<services>
<service id="khepin_user_validator.pointcut" class="%khepin_user_validator.pointcut.class%">
<argument type="service" id="annotation_reader" />
<tag name="jms_aop.pointcut" interceptor="khepin_user_validator.interceptor" />
</service>
<service id="khepin_user_validator.interceptor" class="%khepin_user_validator.interceptor.class%">
<argument type="service" id="security.context" />
<argument type="service" id="annotation_reader" />
<argument type="service" id="validator" />
<argument type="service" id="session" />
<argument type="service" id="router" />
</service>
</services>
</container>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment