Преглед изворни кода

Disable call to AnnotationReader::setAutoloadAnnotations()

Benjamin Eberlei пре 14 година
родитељ
комит
d5c1bbee81
1 измењених фајлова са 1 додато и 3 уклоњено
  1. 1 3
      src/Symfony/Bundle/FrameworkBundle/Resources/config/annotations.xml

+ 1 - 3
src/Symfony/Bundle/FrameworkBundle/Resources/config/annotations.xml

@@ -11,9 +11,7 @@
     </parameters>
     </parameters>
 
 
     <services>
     <services>
-        <service id="annotations.reader" class="%annotations.reader.class%" public="false">
-            <call method="setAutoloadAnnotations"><argument>true</argument></call>
-        </service>
+        <service id="annotations.reader" class="%annotations.reader.class%" public="false" />
 
 
         <service id="annotations.cached_reader" class="%annotations.cached_reader.class%" public="false">
         <service id="annotations.cached_reader" class="%annotations.cached_reader.class%" public="false">
             <argument type="service" id="annotations.reader" />
             <argument type="service" id="annotations.reader" />