You are here

public function ArrayObject::getIterator in Express 8

Creates a new iterator from an ArrayObject instance.

Return value

\ArrayIterator An array iterator.

File

themes/contrib/bootstrap/src/Utility/ArrayObject.php, line 245
Contains \Drupal\bootstrap\Utility\ArrayObject.

Class

ArrayObject
Custom ArrayObject implementation.

Namespace

Drupal\bootstrap\Utility

Code

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