MatchedRoute

Internal

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

Properties

$hostMatches

protected array<string|int, mixed> $hostMatches = []

$pathMatches

protected array<string|int, mixed> $pathMatches = []

$routeResult

protected array<string|int, mixed> $routeResult

Methods

__construct()

public __construct(Route $route, array<string|int, mixed> $routeResult) : mixed
Parameters
$route : Route
$routeResult : array<string|int, mixed>

getFallbackScore()

public getFallbackScore() : int
Return values
int

getHostMatchScore()

public getHostMatchScore() : int
Return values
int

getPathMatchScore()

public getPathMatchScore(int $index) : int
Parameters
$index : int
Return values
int

getRoute()

public getRoute() : Route
Return values
Route

getRouteResult()

public getRouteResult() : array<string|int, mixed>
Return values
array<string|int, mixed>

getSiteIdentifier()

public getSiteIdentifier() : string
Return values
string

withHostMatches()

public withHostMatches(array<string|int, mixed> $hostMatches) : self
Parameters
$hostMatches : array<string|int, mixed>
Return values
self

withPathMatches()

public withPathMatches(array<string|int, mixed> $pathMatches) : self
Parameters
$pathMatches : array<string|int, mixed>
Return values
self

        
On this page

Search results