소스 검색

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',