◆ __construct()
Create a new response handler.
- Parameters
-
ContainerInterface | $container | |
◆ get_response_from_exception()
Get the response from an exception.
- Parameters
-
ServerRequestInterface | $request | |
Exception | $exception | |
- Return values
-
◆ standardise_response()
Invoke a route callable.
Note: Much of this is copied from the parent class, but we need to handle the response differently.
- Parameters
-
ResponseInterface | response_type | $response | The response object. |
- Return values
-
ResponseInterface | The response from the callable. |
The documentation for this class was generated from the following file:
- lib/classes/router/response_handler.php