blob: 37cfcc3ead3d6a5cc9f405221f1b7dff34df040f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
<?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
}
}
?>
|