Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 862bdf1 commit 0642911Copy full SHA for 0642911
src/Symfony/Bundle/FrameworkBundle/Resources/config/validator.xml
@@ -39,6 +39,16 @@
39
<argument>%validator.mapping.cache.prefix%</argument>
40
</service>
41
42
+ <service id="validator.mapping.cache.doctrine.apc" class="Symfony\Component\Validator\Mapping\Cache\DoctrineCache" public="false">
43
+ <argument type="service">
44
+ <service class="Doctrine\Common\Cache\ApcCache">
45
+ <call method="setNamespace">
46
+ <argument>%validator.mapping.cache.prefix%</argument>
47
+ </call>
48
+ </service>
49
+ </argument>
50
51
+
52
<service id="validator.validator_factory" class="%validator.validator_factory.class%" public="false">
53
<argument type="service" id="service_container" />
54
<argument type="collection" />
0 commit comments