code: public function destroy()
      {
          foreach ($_COOKIE as $key => $value) {
              setcookie($key, null, -1, '/');
              unset($_COOKIE[$key]);
          }
  
          return;
      }
docs: Delete all cookie method.
  
  @return void