Route
class Route extends Route implements Router
The bidirectional route is responsible for mapping HTTP request to an array for dispatch and vice-versa.
Constants
private PresenterKey |
|
private ModuleKey |
|
private UIMeta |
|
Methods
Maps HTTP request to an array.
Constructs absolute URL from array.
No description
camelCaseAction name -> dash-separated.
dash-separated -> camelCaseAction name.
PascalCase:Presenter name -> dash-and-dot-separated.
dash-and-dot-separated -> PascalCase:Presenter name.
Details
at line 51
__construct(string $mask, array|string|Closure $metadata = [], int $flags = 0)
No description
at line 83
array|null
match(IRequest $httpRequest)
Maps HTTP request to an array.
at line 109
string|null
constructUrl(array $params, UrlScript $refUrl)
Constructs absolute URL from array.
at line 136
array
getConstantParameters()
internal |
No description
at line 151
int
getFlags()
deprecated
deprecated
No description
at line 164
static string
action2path(string $s)
camelCaseAction name -> dash-separated.
at line 176
static string
path2action(string $s)
dash-separated -> camelCaseAction name.
at line 188
static string
presenter2path(string $s)
PascalCase:Presenter name -> dash-and-dot-separated.
at line 201
static string
path2presenter(string $s)
dash-and-dot-separated -> PascalCase:Presenter name.