public function forget() { $code = $this->check(); if ($code === null) { return; } $this->session->forget(); $this->cookie->forget(); return $this->remove($code); }