Create a new iterator from an ArrayObject instance.

/**
 * Create a new iterator from an ArrayObject instance
 */
public function getIterator(): ArrayIterator

Examples

$iterator = Arrays::create()->getIterator();

Getting Started

Methods