Moodle PHP Documentation 4.5
Moodle 4.5.5+ (Build: 20250711) (ce34e8ff087)
|
Public Member Functions | ||||
__construct (string $pattern, $callable, CallableResolverInterface $callableResolver, RouteCollectorProxyInterface $routeCollectorProxy) | ||||
add ($middleware) | ||||
{Add middleware to the route group.
| ||||
addMiddleware (MiddlewareInterface $middleware) | ||||
{Add middleware to the route group.} | ||||
appendMiddlewareToDispatcher (MiddlewareDispatcher $dispatcher) | ||||
{Append the group's middleware to the MiddlewareDispatcher.} | ||||
collectRoutes () | ||||
{} | ||||
getPattern () | ||||
{Get the RouteGroup's pattern.} | ||||
Protected Attributes | |
callable string | $callable |
CallableResolverInterface | $callableResolver |
MiddlewareInterface[] string[] callable[] array | $middleware = [] |
string | $pattern |
RouteCollectorProxyInterface | $routeCollectorProxy |
Slim\Routing\RouteGroup::__construct | ( | string | $pattern, |
$callable, | |||
CallableResolverInterface | $callableResolver, | ||
RouteCollectorProxyInterface | $routeCollectorProxy ) |
callable | string | $callable |
Slim\Routing\RouteGroup::add | ( | $middleware | ) |
{Add middleware to the route group.
MiddlewareInterface | string | callable | $middleware |
Implements Slim\Interfaces\RouteGroupInterface.
Slim\Routing\RouteGroup::addMiddleware | ( | MiddlewareInterface | $middleware | ) |
{Add middleware to the route group.}
Implements Slim\Interfaces\RouteGroupInterface.
Slim\Routing\RouteGroup::appendMiddlewareToDispatcher | ( | MiddlewareDispatcher | $dispatcher | ) |
{Append the group's middleware to the MiddlewareDispatcher.}
Implements Slim\Interfaces\RouteGroupInterface.
Slim\Routing\RouteGroup::collectRoutes | ( | ) |
{}
Implements Slim\Interfaces\RouteGroupInterface.
Slim\Routing\RouteGroup::getPattern | ( | ) |
{Get the RouteGroup's pattern.}
Implements Slim\Interfaces\RouteGroupInterface.