Generator::rewind
Generator::rewind
(PHP 5 >= 5.5.0, PHP 7)
Generator::rewind — Rewind the iterator
Description
public void Generator::rewind ( void )
If iteration has already begun, this will throw an exception.
Parameters
This function has no parameters.
Return Values
No value is returned.
© 1997–2017 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://secure.php.net/manual/en/generator.rewind.php