mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
feat: kernel dump
This commit is contained in:
@ -31,6 +31,7 @@ final class Kernel
|
||||
Bootstrappers\BootSubscribers::class,
|
||||
Bootstrappers\BootFiles::class,
|
||||
Bootstrappers\BootView::class,
|
||||
Bootstrappers\BootKernelDump::class,
|
||||
];
|
||||
|
||||
/**
|
||||
@ -106,6 +107,12 @@ final class Kernel
|
||||
*/
|
||||
public function shutdown(): void
|
||||
{
|
||||
$preBufferOutput = Container::getInstance()->get(KernelDump::class);
|
||||
|
||||
assert($preBufferOutput instanceof KernelDump);
|
||||
|
||||
$preBufferOutput->shutdown();
|
||||
|
||||
CallsShutdown::execute();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user