Router
-
subpackage
-
Table of Contents
Methods
-
getRoutes()
: array<string|int, Route>
-
match()
: Route|void
-
registerConfiguration()
: mixed
-
releaseRoutes()
: mixed
-
route()
: string|null
-
url()
: mixed
getRoutes()
public
getRoutes() : array<string|int, Route>
Return values
array<string|int, Route>
match()
public
match(HttpRequest $request) : Route|void
Parameters
-
$request
: HttpRequest
-
registerConfiguration()
public
registerConfiguration(mixed $configuration) : mixed
Parameters
-
$configuration
: mixed
-
releaseRoutes()
public
releaseRoutes() : mixed
route()
public
route(string $name[, array<string|int, mixed> $parameters = [] ]) : string|null
Parameters
-
$name
: string
-
-
$parameters
: array<string|int, mixed>
= []
-
Return values
string|null
url()
public
url(mixed $url[, mixed $parameters = [] ]) : mixed
Parameters
-
$url
: mixed
-
-
$parameters
: mixed
= []
-