Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitaa3c6b4

Browse files
[FrameworkBundle] fix creating ContainerBuilder at warmup/CLI time
1 parent852cc29 commitaa3c6b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/Symfony/Bundle/FrameworkBundle/Command/BuildDebugContainerTrait.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ protected function getContainerBuilder(KernelInterface $kernel): ContainerBuilde
4040
}
4141

4242
if (!$kernel->isDebug() || !(newConfigCache($kernel->getContainer()->getParameter('debug.container.dump'),true))->isFresh()) {
43-
$buildContainer = \Closure::bind(function () {return$this->buildContainer(); },$kernel,\get_class($kernel));
43+
$buildContainer = \Closure::bind(function () {$this->initializeBundles();return$this->buildContainer(); },$kernel,\get_class($kernel));
4444
$container =$buildContainer();
4545
$container->getCompilerPassConfig()->setRemovingPasses([]);
4646
$container->getCompilerPassConfig()->setAfterRemovingPasses([]);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp