38 array_unshift($routeArguments, $request, $response);
40 return call_user_func_array($callable, $routeArguments);
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.
Defines a contract for invoking a route callable.