code: public function clear()
      {
          @trigger_error(__METHOD__.' is deprecated and will be removed in 3.0.', E_USER_DEPRECATED);
          Tokens::setLegacyMode(true);
  
          $this->content = '';
          $this->id = null;
          $this->isArray = false;
      }
docs: Clear token at given index.
  
  Clearing means override token by empty string.
  
  @deprecated since 2.4