code: public function destroy()
      {
          if (!is_null($this->getValue())) {
              if (!headers_sent()) {
                  return setcookie(
                      $this->name,
                      '',
                      time() - 3600,
                      $this->path,
                      $this->host
                  ); //Deletes Cookie
              } else {
                  return false;
              }
          } else {
              // The cookie does not exists, there is nothing to destroy
              return true;
          }
      }
docs: Destroys the cookie
  
  @return bool