diff options
| author | Sam Light <sam@lightscale.co.uk> | 2026-06-10 19:00:33 +0100 |
|---|---|---|
| committer | Sam Light <sam@lightscale.co.uk> | 2026-06-10 19:00:33 +0100 |
| commit | 7144cad2df09b68a7359955242aabef746a826b3 (patch) | |
| tree | 8d53162bb19aba1e49f1cdbfb224992152841b2c /src/Route.php | |
| parent | fdb23965a0daf06e85de4fc11a83e5f96656cc81 (diff) | |
Setup structure for storing middleware and added test todos
Diffstat (limited to 'src/Route.php')
| -rw-r--r-- | src/Route.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Route.php b/src/Route.php index f432d61..58c2397 100644 --- a/src/Route.php +++ b/src/Route.php @@ -9,6 +9,8 @@ use Lightscale\Router\Enums\HttpMethod; class Route { + use Concerns\HasMiddleware; + protected Closure $handler; protected PathSegment $segment; |
