57 public function pushGroup($pattern, $callable);
Slim Framework (https://slimframework.com)
Representation of an incoming, server-side HTTP request.
foreach($paths as $path) $request
pushGroup($pattern, $callable)
Add a route group to the array.
getNamedRoute($name)
Get named route object.
popGroup()
Removes the last route group from the array.
pathFor($name, array $data=[], array $queryParams=[])
Build the path for a named route including the base path.
relativePathFor($name, array $data=[], array $queryParams=[])
Build the path for a named route excluding the base path.
map($methods, $pattern, $handler)
Add route.
dispatch(ServerRequestInterface $request)
Dispatch router for HTTP request.