summaryrefslogtreecommitdiff
path: root/src/PathSegmentMatch.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/PathSegmentMatch.php')
-rw-r--r--src/PathSegmentMatch.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/PathSegmentMatch.php b/src/PathSegmentMatch.php
new file mode 100644
index 0000000..738b4a5
--- /dev/null
+++ b/src/PathSegmentMatch.php
@@ -0,0 +1,15 @@
+<?php
+
+declare(strict_types=1);
+
+namespace Lightscale\Router;
+
+readonly class PathSegmentMatch
+{
+ /** @param array<string, string> $parameters */
+ public function __construct(
+ public PathSegment $segment,
+ public array $parameters,
+ ) {
+ }
+}