Explorar o código

removed FrameworkBundle from bootstrap file

Fabien Potencier %!s(int64=14) %!d(string=hai) anos
pai
achega
74b38d93e6
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      Resources/bin/build_bootstrap.php

+ 2 - 1
Resources/bin/build_bootstrap.php

@@ -50,7 +50,8 @@ ClassCollectionLoader::load(array(
     'Symfony\\Component\\HttpKernel\\Bundle\\Bundle',
     'Symfony\\Component\\HttpKernel\\Bundle\\BundleInterface',
     'Symfony\\Component\\Config\\ConfigCache',
-    'Symfony\\Bundle\\FrameworkBundle\\FrameworkBundle',
+    // cannot be included as commands are discovered based on the path to this class via Reflection
+    //'Symfony\\Bundle\\FrameworkBundle\\FrameworkBundle',
 ), dirname($file), basename($file, '.php.cache'), false, false, '.php.cache');
 
 file_put_contents($file, "<?php\n\nnamespace { require_once __DIR__.'/autoload.php'; }\n\n".substr(file_get_contents($file), 5));