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