original_string: public function clear()
      {
          foreach ($this->items as $item) {
              $this->deleted[] = $item;
          }
  
          $this->items = [];
      }
code: public function clear()
      {
          foreach ($this->items as $item) {
              $this->deleted[] = $item;
          }
  
          $this->items = [];
      }
code_tokens: public function clear ( ) { foreach ( $ this -> items as $ item ) { $ this -> deleted [ ] = $ item ; } $ this -> items = [ ] ; }
docstring: Remove all items in this collection
  
  @return void
docstring_tokens: Remove all items in this collection