code: public function delete($key)
      {
          if ($this->has($key)) {
              setcookie($key, null, -1, '/');
              unset($_COOKIE[$key]);
          }
  
          return;
      }
docs: Delete cookie method.
  
  @param string $key
  
  @return void