public function __construct(\Elgg\Database $db, \Elgg\Logger $logger) { $this->db = $db; $this->logger = $logger; }