summaryrefslogtreecommitdiff
path: root/src/RouteMatch.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/RouteMatch.php')
-rw-r--r--src/RouteMatch.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/RouteMatch.php b/src/RouteMatch.php
new file mode 100644
index 0000000..d43bf80
--- /dev/null
+++ b/src/RouteMatch.php
@@ -0,0 +1,14 @@
+<?php
+
+declare(strict_types=1);
+
+namespace Lightscale\Router;
+
+readonly class RouteMatch
+{
+ public function __construct(
+ public PathSegmentMatch $segmentMatch,
+ public Route $route,
+ ) {
+ }
+}