改名
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace Server;
|
||||
|
||||
use Server\Constrict\Response;
|
||||
use Throwable;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
interface ExceptionHandlerInterface
|
||||
{
|
||||
|
||||
|
||||
/**
|
||||
* @param Throwable $exception
|
||||
* @param Response $response
|
||||
* @return ResponseInterface
|
||||
*/
|
||||
public function emit(Throwable $exception, Response $response): ResponseInterface;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user