| 1 | <?php |
||
| 11 | class CustomException |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var Renderer |
||
| 15 | */ |
||
| 16 | private $renderer; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * CustomException constructor. |
||
| 20 | * |
||
| 21 | * @param Renderer $renderer |
||
| 22 | */ |
||
| 23 | public function __construct(Renderer $renderer) |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @param ServerRequestInterface $request |
||
| 30 | * @param ResponseInterface $response |
||
| 31 | * @param callable $next |
||
| 32 | * |
||
| 33 | * @return mixed |
||
| 34 | */ |
||
| 35 | public function __invoke(ServerRequestInterface $request, ResponseInterface $response, callable $next) |
||
| 43 | } |
||
| 44 |