You are here

public function FieldableEdgeEntityBase::getIterator in Apigee Edge 8

File

src/Entity/FieldableEdgeEntityBase.php, line 535

Class

FieldableEdgeEntityBase
Base field support for Apigee Entities without making them content entities.

Namespace

Drupal\apigee_edge\Entity

Code

public function getIterator() {
  return new \ArrayIterator($this
    ->getFields());
}