ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Abstract Slim application handler. More...
Protected Member Functions | |
determineContentType (ServerRequestInterface $request) | |
Determine which content type we know about is wanted using Accept header. More... | |
Protected Attributes | |
$knownContentTypes | |
Abstract Slim application handler.
Definition at line 16 of file AbstractHandler.php.
|
protected |
Determine which content type we know about is wanted using Accept header.
Note: This method is a bare-bones implementation designed specifically for Slim's error handling requirements. Consider a fully-feature solution such as willdurand/negotiation for any other situation.
ServerRequestInterface | $request |
Definition at line 40 of file AbstractHandler.php.
References Psr\Http\Message\MessageInterface\getHeaderLine().
Referenced by Slim\Handlers\NotFound\__invoke(), Slim\Handlers\PhpError\__invoke(), Slim\Handlers\NotAllowed\__invoke(), and Slim\Handlers\Error\__invoke().
|
protected |
Definition at line 23 of file AbstractHandler.php.