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