ApiAwareRedirectHandler
extends RedirectHandler
in package
Re-throws authorization exceptions for API routes so that ApiExceptionRenderer returns JSON; redirects all other routes.
Table of Contents
Methods
- handle() : ResponseInterface
Methods
handle()
public
handle(Exception $exception, ServerRequestInterface $request[, array<string|int, mixed> $options = [] ]) : ResponseInterface
Parameters
- $exception : Exception
- $request : ServerRequestInterface
- $options : array<string|int, mixed> = []