Method | Description | |
---|---|---|
__construct ( |
||
__invoke ( Psr\Http\Message\ServerRequestInterface $request, Psr\Http\Message\ResponseInterface $response, callable $next ) : Psr\Http\Message\ResponseInterface |
Method | Description | |
---|---|---|
handler ( string $type ) : Whoops\Handler\HandlerInterface | Retrieve the handler to use for the given type | |
type ( Psr\Http\Message\ServerRequestInterface $request ) : string | Determine the preferred content type for the current request |
public __construct ( |
||
$preferences | ||
$negotiator | ||
$resolver | Relay\ResolverInterface | |
$whoops | Whoops\Run | |
$logger | Psr\Log\LoggerInterface |
public __invoke ( Psr\Http\Message\ServerRequestInterface $request, Psr\Http\Message\ResponseInterface $response, callable $next ) : Psr\Http\Message\ResponseInterface | ||
$request | Psr\Http\Message\ServerRequestInterface | |
$response | Psr\Http\Message\ResponseInterface | |
$next | callable | |
return | Psr\Http\Message\ResponseInterface |