summaryrefslogtreecommitdiff
path: root/src/PathSegmentTypeMatch.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/PathSegmentTypeMatch.php')
-rw-r--r--src/PathSegmentTypeMatch.php13
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,
+ ) {}
+}