Skip to content
docsv0.1.0

MatchStatus

The three possible outcomes of matching a request against the route table, so the pipeline branches with an exhaustive `match()` instead of nullable/boolean guessing. String-backed for logging and telemetry.

MatchStatus::cases()

public static function cases(): array

MatchStatus::from()

public static function from(string|int $value): static

Parameters

Parameters of from()
NameTypeDescription
$valuestring|int

MatchStatus::tryFrom()

public static function tryFrom(string|int $value): ?static

Parameters

Parameters of tryFrom()
NameTypeDescription
$valuestring|int