summaryrefslogtreecommitdiff
path: root/ext/spl/internal/norewinditerator.inc
blob: 8747a6116ec4ae59412faed2854519a797eb6f6b (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 - 2009
 *
 * 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
	}
}

?>