final class ResolveResult (View source)

The result of a RoutePartInterface::resolve() call if the corresponding Route Part resolved

Methods

__construct(string $resolvedValue, UriConstraints $uriConstraints = null, RouteTags $tags = null, RouteLifetime $lifetime = null)

No description

string|null
getResolvedValue()

No description

bool
hasUriConstraints()

No description

getUriConstraints()

No description

bool
hasTags()

No description

RouteTags|null
getTags()

No description

bool
hasLifetime()

Whether this result has a lifetime

RouteLifetime|null
getLifetime()

RouteLifetime to be associated with the MatchResult, or NULL

Details

__construct(string $resolvedValue, UriConstraints $uriConstraints = null, RouteTags $tags = null, RouteLifetime $lifetime = null)

No description

Parameters

string $resolvedValue
UriConstraints $uriConstraints
RouteTags $tags
RouteLifetime $lifetime

string|null getResolvedValue()

No description

Return Value

string|null

bool hasUriConstraints()

No description

Return Value

bool

UriConstraints|null getUriConstraints()

No description

Return Value

UriConstraints|null

bool hasTags()

No description

Return Value

bool

RouteTags|null getTags()

No description

Return Value

RouteTags|null

bool hasLifetime()

Whether this result has a lifetime

Return Value

bool

RouteLifetime|null getLifetime()

RouteLifetime to be associated with the MatchResult, or NULL

Return Value

RouteLifetime|null