phpday 2027 - Call for Papers

IteratorAggregate::getIterator

(PHP 5, PHP 7, PHP 8)

IteratorAggregate::getIterator — Recuperar un Iterator o traversable externo

Descripción

public function IteratorAggregate::getIterator(): Traversable

Devuelve un iterador o traversable externo.

Parámetros

Esta función no contiene ningún parámetro.

Valores devueltos

Una instancia de un objeto que implementa Iterator o Traversable

Errores/Excepciones

Lanza una Exception en caso de fallo.

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top