MatchedRoute
Table of Contents
Properties
-
$hostMatches
: array<string|int, mixed>
-
$pathMatches
: array<string|int, mixed>
-
$route
: Route
-
$routeResult
: array<string|int, mixed>
Methods
-
__construct()
: mixed
-
getFallbackScore()
: int
-
getHostMatchScore()
: int
-
getPathMatchScore()
: int
-
getRoute()
: Route
-
getRouteResult()
: array<string|int, mixed>
-
getSiteIdentifier()
: string
-
withHostMatches()
: self
-
withPathMatches()
: self
$hostMatches
protected
array<string|int, mixed>
$hostMatches
= []
$pathMatches
protected
array<string|int, mixed>
$pathMatches
= []
$route
protected
Route
$route
$routeResult
protected
array<string|int, mixed>
$routeResult
__construct()
public
__construct(Route $route, array<string|int, mixed> $routeResult) : mixed
Parameters
-
$route
: Route
-
-
$routeResult
: array<string|int, mixed>
-
getFallbackScore()
public
getFallbackScore() : int
getHostMatchScore()
public
getHostMatchScore() : int
getPathMatchScore()
public
getPathMatchScore(int $index) : int
Parameters
-
$index
: int
-
getRoute()
public
getRoute() : Route
getRouteResult()
public
getRouteResult() : array<string|int, mixed>
Return values
array<string|int, mixed>
getSiteIdentifier()
public
getSiteIdentifier() : string
withHostMatches()
public
withHostMatches(array<string|int, mixed> $hostMatches) : self
Parameters
-
$hostMatches
: array<string|int, mixed>
-
withPathMatches()
public
withPathMatches(array<string|int, mixed> $pathMatches) : self
Parameters
-
$pathMatches
: array<string|int, mixed>
-