29 $this->pattern = $pattern;
30 $this->callable = $callable;
40 $callable = $this->resolveCallable($this->callable);
41 if ($callable instanceof Closure && $app !==
null) {
42 $callable = $callable->bindTo($app);
An exception for terminatinating execution or to throw for unit testing.
__construct($pattern, $callable)
Create a new RouteGroup.
__invoke(App $app=null)
Invoke the group to register any Routable objects within it.
Slim Framework (https://slimframework.com)