summaryrefslogtreecommitdiff
path: root/classes/IHandler.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2023-10-25 12:55:09 +0300
committerAndrew Dolgov <[email protected]>2023-10-25 12:55:09 +0300
commit865ecc87963dc3b26e66296616eef2a1cc41ac3f (patch)
treebf2ecd8a391103bdb2c8b70cd33c47467310754b /classes/IHandler.php
parent0a5507d3bd79d04c860455664f919bf8e7274fda (diff)
move to psr-4 autoloader
Diffstat (limited to 'classes/IHandler.php')
-rw-r--r--classes/IHandler.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/classes/IHandler.php b/classes/IHandler.php
new file mode 100644
index 000000000..215143370
--- /dev/null
+++ b/classes/IHandler.php
@@ -0,0 +1,6 @@
+<?php
+interface IHandler {
+ function csrf_ignore(string $method): bool;
+ function before(string $method): bool;
+ function after(): bool;
+}