Pagekit\Kernel\ExceptionHandler::sendPhpResponse PHP Method

sendPhpResponse() public method

public sendPhpResponse ( $exception )
    public function sendPhpResponse($exception)
    {
        if ($exception instanceof HttpException) {
            $exception = FlattenException::create($exception, $exception->getCode());
        }
        parent::sendPhpResponse($exception);
    }