MatchedRoute

class \TYPO3\CMS\Core\Routing\MatchedRoute

Table of Contents

Properties

$hostMatches  : array
$pathMatches  : array
$route  : Route
$routeResult  : array

Methods

__construct()  : mixed
getFallbackScore()  : int
getHostMatchScore()  : int
getPathMatchScore()  : int
getRoute()  : Route
getRouteResult()  : array
getSiteIdentifier()  : string
withHostMatches()  : self
withPathMatches()  : self

Properties

$hostMatches

protected array $hostMatches = []

$pathMatches

protected array $pathMatches = []

Methods

__construct()

public __construct(Route $route, array $routeResult) : mixed

Parameters

$route : Route
$routeResult : array

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

Return values

array

getSiteIdentifier()

public getSiteIdentifier() : string

Return values

string

withHostMatches()

public withHostMatches(array $hostMatches) : self

Parameters

$hostMatches : array

Return values

self

withPathMatches()

public withPathMatches(array $pathMatches) : self

Parameters

$pathMatches : array

Return values

self
On this page