Commit 764d77a4 authored by webchick's avatar webchick
Browse files

Issue #1872634 by fabpot: Fixed Added some missing synthetic services that were missing.

parent 0e90e3e0
......@@ -365,8 +365,10 @@ protected function buildContainer() {
$container = $this->getContainerBuilder();
$container->setParameter('container.bundles', $this->bundleClasses);
$container->setParameter('container.modules', $this->getModuleFileNames());
// Register the class loader as a synthetic service.
// Register synthetic services.
$container->register('class_loader', 'Symfony\Component\ClassLoader\UniversalClassLoader')->setSynthetic(TRUE);
$container->register('kernel', 'Symfony\Component\HttpKernel\KernelInterface')->setSynthetic(TRUE);
$container->register('service_container', 'Symfony\Component\DependencyInjection\ContainerInterface')->setSynthetic(TRUE);
foreach ($this->bundles as $bundle) {
$bundle->build($container);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment