RepeatedFieldIter is used to iterate RepeatedField. It is also need for the
foreach syntax.

CloneableInstantiableIterable
ImplementsIterator
Traversable
Methods
public __construct( $container)
 

Create iterator instance for RepeatedField.

  • ignore
public current()
 

Return the element at the current position.

  • return object The element at the current position.
public key()
 

Return the current position.

  • return int The current position.
public next()
 

Move to the next position.

  • return void
public rewind()
 

Reset the status of the iterator

  • return void
public valid()
 

Check whether there are more elements to iterate.

  • return bool True if there are more elements to iterate.
Properties
private $container
 
  • ignore
private $position
 
  • ignore
© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only