104 public function add($callable);
Slim Framework (https://slimframework.com)
Representation of an incoming, server-side HTTP request.
foreach($paths as $path) $request
getArgument($name, $default=null)
Retrieve a specific route argument.
getPattern()
Get route pattern.
setArgument($name, $value)
Set a route argument.
setOutputBuffering($mode)
Set output buffering mode.
getArguments()
Get route arguments.
add($callable)
Add middleware.
Representation of an outgoing, server-side response.
__invoke(ServerRequestInterface $request, ResponseInterface $response)
Dispatch route callable against current Request and Response objects.
prepare(ServerRequestInterface $request, array $arguments)
Prepare the route for use.
setArguments(array $arguments)
Replace route arguments.
setName($name)
Set route name.
run(ServerRequestInterface $request, ResponseInterface $response)
Run route.