From 8c0efd0d9317ad92bd55cd6afcd41bdbab827bf8 Mon Sep 17 00:00:00 2001 From: Sam Light Date: Wed, 10 Jun 2026 19:00:32 +0100 Subject: Make basic routing work --- src/BasicStrategy.php | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/BasicStrategy.php (limited to 'src/BasicStrategy.php') diff --git a/src/BasicStrategy.php b/src/BasicStrategy.php new file mode 100644 index 0000000..62bc48e --- /dev/null +++ b/src/BasicStrategy.php @@ -0,0 +1,23 @@ +route->getHandler())($call); + } + + public function notFound(RequestInterface $request): ResponseInterface + { + throw new NotFoundException(); + } +} -- cgit v1.2.3