ArrayObject::setIteratorClass
ArrayObject::setIteratorClass
(PHP 5 >= 5.1.0, PHP 7)
ArrayObject::setIteratorClass — Sets the iterator classname for the ArrayObject.
Description
public void ArrayObject::setIteratorClass ( string $iterator_class )
Sets the classname of the array iterator that is used by ArrayObject::getIterator().
Parameters
-
iterator_class
-
The classname of the array itera