public function __construct($db, $user, $log) { $this->db = $db; $this->user = $user; $this->log = $log; }