改名
This commit is contained in:
@@ -92,7 +92,7 @@ class Server implements OnRequestInterface
|
|||||||
$PsrResponse = $this->exceptionHandler->emit($throwable, $this->response);
|
$PsrResponse = $this->exceptionHandler->emit($throwable, $this->response);
|
||||||
} finally {
|
} finally {
|
||||||
$this->responseEmitter->sender($response, $PsrResponse);
|
$this->responseEmitter->sender($response, $PsrResponse);
|
||||||
$this->eventDispatch->dispatch(new OnAfterRequest());
|
// $this->eventDispatch->dispatch(new OnAfterRequest());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ use Kiri\Abstracts\Component;
|
|||||||
use Kiri\Core\Json;
|
use Kiri\Core\Json;
|
||||||
use Kiri\Events\EventDispatch;
|
use Kiri\Events\EventDispatch;
|
||||||
use Kiri\Kiri;
|
use Kiri\Kiri;
|
||||||
use Server\Events\OnAfterRequest;
|
use Http\Events\OnAfterRequest;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class ErrorHandler
|
* Class ErrorHandler
|
||||||
|
|||||||
Reference in New Issue
Block a user