Quellcode durchsuchen

removed ContainerAware to avoid a big slow down when using annotations

Fabien Potencier vor 14 Jahren
Ursprung
Commit
029151792b
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  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',