<?php
-class Handler {
- protected $link;
+class Handler implements IHandler {
+ protected $pdo;
protected $args;
- function __construct($link, $args) {
- $this->link = $link;
+ function __construct($args) {
+ $this->pdo = Db::pdo();
$this->args = $args;
}
- function before() {
+ function csrf_ignore($method) {
return true;
}
-}
-?>
+
+ function before($method) {
+ return true;
+ }
+
+ function after() {
+ return true;
+ }
+
+}
\ No newline at end of file