Interface Yiisoft\ErrorHandler\ThrowableResponseFactoryInterface
| Implemented by | Yiisoft\ErrorHandler\ThrowableResponseFactory |
|---|
ThrowableResponseFactoryInterface produces a response for Throwable object.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| create() | Handles a Throwable object and produces a response. |
Yiisoft\ErrorHandler\ThrowableResponseFactoryInterface |
Method Details
Handles a Throwable object and produces a response.
| public abstract create( Throwable $throwable, \Psr\Http\Message\ServerRequestInterface $request ): \Psr\Http\Message\ResponseInterface | ||
| $throwable | Throwable | |
| $request | \Psr\Http\Message\ServerRequestInterface | |
public function create(Throwable $throwable, ServerRequestInterface $request): ResponseInterface;
Signup or Login in order to comment.