cookie_hash = $cookie_hash; $this->uid = $uid; $this->user_agent = $user_agent; $this->trusted = $trusted; $this->created = $created; $this->last_used = $last_used; } /** * Records if the trusted browser was used * * @return void * @throws \Exception unexpected DateTime exception happened */ public function recordUse() { $this->last_used = DateTimeFormat::utcNow(); } }