feat: improves fatal exception handling

This commit is contained in:
Nuno Maduro
2024-01-25 21:47:28 +00:00
parent 62d8459627
commit c5ce355f3c
8 changed files with 79 additions and 23 deletions

View File

@ -7,10 +7,10 @@ namespace Pest\Contracts\Plugins;
/**
* @internal
*/
interface Shutdownable
interface Terminable
{
/**
* Shutdowns the plugin.
* Terminates the plugin.
*/
public function shutdown(): void;
public function terminate(): void;
}