Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. RepeatedField.php

function RepeatedField::getIterator

@ignore

File

vendor/google/protobuf/src/Google/Protobuf/Internal/RepeatedField.php, line 225

Class

RepeatedField
RepeatedField is used by generated protocol message classes to manipulate repeated fields. It can be used like native PHP array.

Namespace

Google\Protobuf\Internal

Code

public function getIterator() : Traversable {
    return new RepeatedFieldIter($this->container);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal