final class MatchResult (View source)

The result of a RoutePartInterface::match() call if the corresponding Route Part matched

Methods

__construct(mixed $matchedValue, RouteTags $tags = null)

No description

mixed
getMatchedValue()

The actual matched value of the respective Route Part

bool
hasTags()

Whether this result is tagged

RouteTags|null
getTags()

RouteTags to be associated with the MatchResult, or NULL

Details

__construct(mixed $matchedValue, RouteTags $tags = null)

No description

Parameters

mixed $matchedValue
RouteTags $tags

mixed getMatchedValue()

The actual matched value of the respective Route Part

Return Value

mixed

bool hasTags()

Whether this result is tagged

Return Value

bool

RouteTags|null getTags()

RouteTags to be associated with the MatchResult, or NULL

Return Value

RouteTags|null