Merge pull request #838 from huangdijia/patch-1

Add container registration for Kernel self
This commit is contained in:
Nuno Maduro
2023-06-17 19:36:22 +01:00
committed by GitHub

View File

@ -67,10 +67,14 @@ final class Kernel
CallsBoot::execute(); CallsBoot::execute();
return new self( $kernel = new self(
new Application(), new Application(),
$output, $output,
); );
Container::getInstance()->add(self::class, $kernel);
return $kernel;
} }
/** /**