ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
RequestResponseArgs.php
Go to the documentation of this file.
1 <?php
10 
14 
19 {
20 
32  public function __invoke(
33  callable $callable,
34  ServerRequestInterface $request,
36  array $routeArguments
37  ) {
38  array_unshift($routeArguments, $request, $response);
39 
40  return call_user_func_array($callable, $routeArguments);
41  }
42 }
Representation of an incoming, server-side HTTP request.
__invoke(callable $callable, ServerRequestInterface $request, ResponseInterface $response, array $routeArguments)
Invoke a route callable with request, response and all route parameters as individual arguments...
Slim Framework (https://slimframework.com)
Representation of an outgoing, server-side response.
Create styles array
The data for the language used.
Route callback strategy with route parameters as individual arguments.
$response
Defines a contract for invoking a route callable.