|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Abstract Slim application handler. More...
Inheritance diagram for Slim\Handlers\AbstractHandler:
Collaboration diagram for Slim\Handlers\AbstractHandler: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\Error\__invoke(), Slim\Handlers\PhpError\__invoke(), and Slim\Handlers\NotAllowed\__invoke().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 23 of file AbstractHandler.php.