|
@@ -660,7 +660,6 @@ use Symfony\Component\DependencyInjection\Loader\PhpFileLoader;
|
|
|
use Symfony\Component\DependencyInjection\Loader\ClosureLoader;
|
|
|
use Symfony\Component\HttpFoundation\Request;
|
|
|
use Symfony\Component\HttpKernel\HttpKernelInterface;
|
|
|
-use Symfony\Component\HttpKernel\ClassCollectionLoader;
|
|
|
use Symfony\Component\HttpKernel\Bundle\BundleInterface;
|
|
|
abstract class Kernel implements KernelInterface
|
|
|
{
|
|
@@ -704,13 +703,6 @@ abstract class Kernel implements KernelInterface
|
|
|
}
|
|
|
$this->initializeBundles();
|
|
|
$this->initializeContainer();
|
|
|
- ClassCollectionLoader::load(
|
|
|
- $this->container->getParameter('kernel.compiled_classes'),
|
|
|
- $this->container->getParameter('kernel.cache_dir'),
|
|
|
- 'classes',
|
|
|
- $this->container->getParameter('kernel.debug'),
|
|
|
- true
|
|
|
- );
|
|
|
foreach ($this->bundles as $bundle) {
|
|
|
$bundle->setContainer($this->container);
|
|
|
$bundle->boot();
|