37 foreach ($routeArguments as $k => $v) {
41 return call_user_func($callable, $request, $response, $routeArguments);
Representation of an incoming, server-side HTTP request.
Slim Framework (https://slimframework.com)
Representation of an outgoing, server-side response.
withAttribute($name, $value)
Return an instance with the specified derived request attribute.
Create styles array
The data for the language used.
Default route callback strategy with route parameters as an array of arguments.
__invoke(callable $callable, ServerRequestInterface $request, ResponseInterface $response, array $routeArguments)
Invoke a route callable with request, response, and all route parameters as an array of arguments...
Defines a contract for invoking a route callable.