瀏覽代碼

removed ContainerAware to avoid a big slow down when using annotations

Fabien Potencier 14 年之前
父節點
當前提交
029151792b
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      Resources/bin/build_bootstrap.php

+ 2 - 1
Resources/bin/build_bootstrap.php

@@ -39,7 +39,8 @@ if (file_exists($file)) {
 
 ClassCollectionLoader::load(array(
     'Symfony\\Component\\DependencyInjection\\ContainerAwareInterface',
-    'Symfony\\Component\\DependencyInjection\\ContainerAware',
+    // Cannot be included because annotations will parse the big compiled class file
+    //'Symfony\\Component\\DependencyInjection\\ContainerAware',
     'Symfony\\Component\\DependencyInjection\\ContainerInterface',
     'Symfony\\Component\\DependencyInjection\\Container',
     'Symfony\\Component\\HttpKernel\\HttpKernelInterface',