42 protected $middleware = [];
58 return $this->middleware;
68 return $this->pattern;
91 public function add($callable)
104 $this->pattern = $newPattern;
add($callable)
Prepend middleware to the middleware collection.
Describes the interface of a container that exposes methods to read its entries.
getPattern()
Get the route pattern.
setContainer(ContainerInterface $container)
Set container for use with resolveCallable.
getMiddleware()
Get the middleware registered for the group.
Slim Framework (https://slimframework.com)
setPattern($newPattern)
Set the route pattern.