mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +01:00
Add container registration for Kernel self
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user