GENERATOR(3) 1 GENERATOR(3)
The Generator class
INTRODUCTION
Generator objects are returned from generators.
Caution
Generator objects cannot be instantiated via new.
CLASS SYNOPSIS
Generator
GeneratorIterator
Methods
o public mixed Generator::current (void )
o public mixed Generator::key (void )
o public void Generator::next (void )
o public void Generator::rewind (void )
o public mixed Generator::send (mixed $value)
o public mixed Generator::throw (Exception $exception)
o public bool Generator::valid (void )
o public void Generator::__wakeup (void )
PHP Documentation Group GENERATOR(3)