RouteList
class RouteList implements Router
The router broker.
Properties
protected RouteList|null | $parent |
Methods
__construct()
No description
string|null
void
warmupCache()
No description
void
modify(int $index, Router|null $router)
No description
withDomain(string $domain)
Returns an iterator over all routers.
array
getRouters()
No description
array
getFlags()
No description
Details
at line 44
__construct()
No description
at line 52
array|null
match(IRequest $httpRequest)
Maps HTTP request to an array.
at line 83
string|null
constructUrl(array $params, UrlScript $refUrl)
Constructs absolute URL from array.
at line 121
void
warmupCache()
No description
at line 186
void
prepend(Router $router, int $flags = 0)
Prepends a router.
at line 194
protected void
modify(int $index, Router|null $router)
internal |
No description
at line 212
RouteList
addRoute(string $mask, array $metadata = [], int $flags = 0)
No description
at line 223
RouteList
withDomain(string $domain)
Returns an iterator over all routers.
at line 237
RouteList
withPath(string $path)
No description
at line 251
RouteList
end()
No description
at line 260
array
getRouters()
No description
at line 269
array
getFlags()
No description
Traits
Strict class for better experience.