Add container registration for Kernel self

This commit is contained in:
Deeka Wong
2023-06-16 14:27:33 +08:00
parent c0af671ca2
commit 9385a3dcea

View File

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