summaryrefslogtreecommitdiff
path: root/src/PathSegmentMatch.php
diff options
context:
space:
mode:
authorSam Light <sam@lightscale.co.uk>2026-06-10 19:00:32 +0100
committerSam Light <sam@lightscale.co.uk>2026-06-10 19:00:32 +0100
commit5fe7c87967ff29c4a8f03a9186918d8359f4887e (patch)
treedfdd4fdc7a4e96266305f82f5846750ab2efabc9 /src/PathSegmentMatch.php
parent01eac9658c3bc486d2d42a18557fdb82a536348e (diff)
big update
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,
+ ) {
+ }
+}