File tree 1 file changed +12
-1
lines changed
src/Symfony/Bundle/FrameworkBundle/Resources/config
1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 5
5
xsi : schemaLocation =" http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd" >
6
6
7
7
<services >
8
- <service id =" annotations.reader" class =" Doctrine\Common\Annotations\AnnotationReader" public =" false" />
8
+ <service id =" annotations.registry" class =" Doctrine\Common\Annotations\AnnotationRegistry" public =" false" >
9
+ <call method =" registerLoader" >
10
+ <argument >class_exists</argument >
11
+ </call >
12
+ </service >
13
+ <service id =" annotations.reader" class =" Doctrine\Common\Annotations\AnnotationReader" public =" false" >
14
+ <argument >null</argument >
15
+ <argument type =" service" id =" annotations.registry" /><!-- dummy arg to register class_exists as annotation loader only when required -->
16
+ <call method =" addGlobalIgnoredName" >
17
+ <argument >required</argument >
18
+ </call >
19
+ </service >
9
20
<service id =" Doctrine\Common\Annotations\Reader" alias =" annotations.reader" public =" false" />
10
21
11
22
<service id =" annotations.cached_reader" class =" Doctrine\Common\Annotations\CachedReader" public =" false" >
You can’t perform that action at this time.
0 commit comments