about summary refs log tree commit diff stats
path: root/classes/RequestHandlerInterface.php
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2026-05-24 14:16:07 +0300
committerAndrew Dolgov <fox@fakecake.org>2026-05-24 14:16:07 +0300
commit1bdf80397c19362c019cdd231e8813e251764370 (patch)
tree126c1e0ffcc5664ac2b5883bec64007070411a9b /classes/RequestHandlerInterface.php
parent1917ab77550613654620b6f5d4ad8570704246de (diff)
downloadthe-epube-1bdf80397c19362c019cdd231e8813e251764370.tar.gz
the-epube-1bdf80397c19362c019cdd231e8813e251764370.tar.xz
switch to PSR-4 router with namespaced handlers
Diffstat (limited to 'classes/RequestHandlerInterface.php')
-rw-r--r--classes/RequestHandlerInterface.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/classes/RequestHandlerInterface.php b/classes/RequestHandlerInterface.php
new file mode 100644
index 0000000..fefe816
--- /dev/null
+++ b/classes/RequestHandlerInterface.php
@@ -0,0 +1,6 @@
+<?php
+
+interface RequestHandlerInterface
+{
+    public function handle(Request $request): Response;
+}