改名
This commit is contained in:
@@ -63,11 +63,11 @@ class HTTPServerListener extends Abstracts\Server
|
|||||||
*/
|
*/
|
||||||
public function init()
|
public function init()
|
||||||
{
|
{
|
||||||
$exceptionHandler = Config::get('exception.http', ExceptionHandlerDispatcher::class);
|
// $exceptionHandler = Config::get('exception.http', ExceptionHandlerDispatcher::class);
|
||||||
if (!in_array(ExceptionHandlerInterface::class, class_implements($exceptionHandler))) {
|
// if (!in_array(ExceptionHandlerInterface::class, class_implements($exceptionHandler))) {
|
||||||
$exceptionHandler = ExceptionHandlerDispatcher::class;
|
// $exceptionHandler = ExceptionHandlerDispatcher::class;
|
||||||
}
|
// }
|
||||||
$this->exceptionHandler = Snowflake::getDi()->get($exceptionHandler);
|
// $this->exceptionHandler = Snowflake::getDi()->get($exceptionHandler);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user