Skip to content

Commit 5a2f695

Browse files
[HttpKernel] allow using public aliases to reference controllers
1 parent 71bc3ea commit 5a2f695

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Kernel/MicroKernelTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public function registerContainerConfiguration(LoaderInterface $loader)
141141
AbstractConfigurator::$valuePreProcessor = $valuePreProcessor;
142142
}
143143

144-
$container->setAlias(static::class, 'kernel');
144+
$container->setAlias(static::class, 'kernel')->setPublic(true);
145145
});
146146
}
147147

0 commit comments

Comments
 (0)