You are here

public function EntityMetadataArrayObject::getIterator in Entity API 7

File

includes/entity.wrapper.inc, line 1280
Provides wrappers allowing easy usage of the entity metadata.

Class

EntityMetadataArrayObject
An array object implementation keeping the reference on the given array so changes to the object are reflected in the passed array.

Code

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