<?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;
}
return true;
}
- function before() {
+ function before($method) {
return true;
}
function after() {
return true;
}
-}
-?>
+
+}
\ No newline at end of file