mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
25 lines
391 B
PHP
25 lines
391 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Pest\Bootstrappers;
|
|
|
|
use NunoMaduro\Collision;
|
|
use Pest\Contracts\Bootstrapper;
|
|
|
|
/**
|
|
* @internal
|
|
*/
|
|
final class BootExceptionHandler implements Bootstrapper
|
|
{
|
|
/**
|
|
* Boots the "Collision" exception handler.
|
|
*/
|
|
public function boot(): void
|
|
{
|
|
$handler = new Collision\Provider();
|
|
|
|
$handler->register();
|
|
}
|
|
}
|