diff options
| author | Sam Light <sam@lightscale.co.uk> | 2026-06-10 19:00:32 +0100 |
|---|---|---|
| committer | Sam Light <sam@lightscale.co.uk> | 2026-06-10 19:00:32 +0100 |
| commit | ac836311005458a10dded324420be92f44976332 (patch) | |
| tree | f456556ceac141aaaeeb0093c4438a44b99e7148 /src/PathSegmentTypeMatch.php | |
| parent | c762531c8679dbb800346174913bfa21917ac0b5 (diff) | |
generating routes with parameters and tests
Diffstat (limited to 'src/PathSegmentTypeMatch.php')
| -rw-r--r-- | src/PathSegmentTypeMatch.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/PathSegmentTypeMatch.php b/src/PathSegmentTypeMatch.php new file mode 100644 index 0000000..4e32bdb --- /dev/null +++ b/src/PathSegmentTypeMatch.php @@ -0,0 +1,13 @@ +<?php + +namespace Lightscale\Router; + +use Lightscale\Router\Enums\PathSegmentType; + +readonly class PathSegmentTypeMatch +{ + final public function __construct( + public PathSegmentType $type, + public string $value, + ) {} +} |
