Vordefinierte Interfaces und Klassen
PHP Manual

Die Generator Klasse

(PHP 5 >= 5.5.0, PHP 7)

Einführung

Generator Objekte werden von Generatoren zurückgeliefert.

Achtung

Generator Objekte können nicht durch new instanziiert werden.

Klassenbeschreibung

Generator implements Iterator {
/* Methoden */
public mixed current ( void )
public mixed getReturn ( void )
public mixed key ( void )
public void next ( void )
public void rewind ( void )
public mixed send ( mixed $value )
public mixed throw ( Throwable $exception )
public bool valid ( void )
public void __wakeup ( void )
}

Inhaltsverzeichnis


Vordefinierte Interfaces und Klassen
PHP Manual