Browse Source

removed ContainerAware to avoid a big slow down when using annotations

Fabien Potencier 14 năm trước cách đây
mục cha
commit
029151792b
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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',