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 | 7f3ad6625e00e39cad47cbfca97e6b872712d10a (patch) | |
| tree | d3e5880f96eb70d4a32d023971ac3bf3531d163c /src/RouteDefinition.php | |
| parent | 8abfce2091e9665af93a920aed246e3b04abc2aa (diff) | |
Route methods now return RouteDefinition class and testing
Diffstat (limited to 'src/RouteDefinition.php')
| -rw-r--r-- | src/RouteDefinition.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/RouteDefinition.php b/src/RouteDefinition.php new file mode 100644 index 0000000..ed6c721 --- /dev/null +++ b/src/RouteDefinition.php @@ -0,0 +1,13 @@ +<?php + +declare(strict_types=1); + +namespace Lightscale\Router; + +class RouteDefinition +{ + public function __construct( + private Router $router, + private Route $route, + ) {} +} |
