1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
<?php class Handler implements IHandler { protected $dbh; protected $pdo; protected $args; function __construct($args) { $this->dbh = Db::get(); $this->pdo = Db::pdo(); $this->args = $args; } function csrf_ignore($method) { return true; } function before($method) { return true; } function after() { return true; } }