mirror of
https://github.com/php/php-src.git
synced 2024-10-19 15:34:25 +00:00
28 lines
478 B
PHP
Executable File
28 lines
478 B
PHP
Executable File
<?php
|
|
|
|
/** @file norewinditerator.inc
|
|
* @ingroup SPL
|
|
* @brief class NoRewindIterator
|
|
* @author Marcus Boerger
|
|
* @date 2003 - 2005
|
|
*
|
|
* SPL - Standard PHP Library
|
|
*/
|
|
|
|
/** @ingroup SPL
|
|
* @brief An Iterator wrapper that doesn't call rewind
|
|
* @author Marcus Boerger
|
|
* @version 1.1
|
|
* @since PHP 5.1
|
|
*/
|
|
class NoRewindIterator extends IteratorIterator
|
|
{
|
|
/** Simply prevent execution of inner iterators rewind().
|
|
*/
|
|
function rewind()
|
|
{
|
|
// nothing to do
|
|
}
|
|
}
|
|
|
|
?>
|