code: public function offsetUnset($index)
      {
          $this->changed = true;
          $this->unregisterFoundToken($this[$index]);
          parent::offsetUnset($index);
      }
docs: Unset collection item.
  
  @param int $index