original_string: public function getIterator() {
          $ret = array('id' => $this->record->id);
          foreach ($this->record as $property => $value) {
              $ret[$property] = $value;
          }
          return new ArrayIterator($ret);
      }
code: public function getIterator() {
          $ret = array('id' => $this->record->id);
          foreach ($this->record as $property => $value) {
              $ret[$property] = $value;
          }
          return new ArrayIterator($ret);
      }
code_tokens: public function getIterator ( ) { $ ret = array ( 'id' => $ this -> record -> id ) ; foreach ( $ this -> record as $ property => $ value ) { $ ret [ $ property ] = $ value ; } return new ArrayIterator ( $ ret ) ; }
docstring: Create an iterator because magic vars can't be seen by 'foreach'.
  Exclude context fields
  
  Implementing method from interface IteratorAggregate
  
  @return ArrayIterator
docstring_tokens: Create an iterator because magic vars can t be seen by foreach . Exclude context fields