فهرست منبع

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>
 
     <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">
             <argument type="service" id="annotations.reader" />