ResolvedRoute

An object representing a resolved route.

since

2.0.0

package

Joomla Framework

Methods

__construct

Constructor.

__construct( controller, mixed||string|int routeVariables,  uri) : 
since

2.0.0

Arguments

controller

mixedThe controller which handles this route

routeVariables

array<string|int, mixed>The variables matched by the route

uri

stringThe URI for this route

Response

mixed

getController

Retrieve the controller which handles this route

getController() : 
since

2.0.0

Response

mixed

getRouteVariables

Retrieve the variables matched by the route

getRouteVariables() : mixed||string|int
since

2.0.0

Response

array<string|int, mixed>

getUri

Retrieve the URI for this route

getUri() : 
since

2.0.0

Response

string

Properties

controller

The controller which handles this route

since

2.0.0

Type(s)

mixed

routeVariables

The variables matched by the route

since

2.0.0

Type(s)

array<string|int, mixed>

uri

The URI for this route

since

2.0.0

Type(s)

string