浏览代码

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" />