26 lines
446 B
PHP
Executable File
26 lines
446 B
PHP
Executable File
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace NunoMaduro\Collision\Contracts;
|
|
|
|
/**
|
|
* @internal
|
|
*/
|
|
interface Provider
|
|
{
|
|
/**
|
|
* Registers the current Handler as Error Handler.
|
|
*
|
|
* @return \NunoMaduro\Collision\Contracts\Provider
|
|
*/
|
|
public function register(): Provider;
|
|
|
|
/**
|
|
* Returns the handler.
|
|
*
|
|
* @return \NunoMaduro\Collision\Contracts\Handler
|
|
*/
|
|
public function getHandler(): Handler;
|
|
}
|