PHP Classes & Interfaces


Name: CachingIterator

Date: Jul-24-2017
PHP version: 5.3.3
Type: Internal

class CachingIterator extends IteratorIterator implements OuterIterator, Traversable, Iterator, ArrayAccess, Countable

Public Methods

public __construct ( Iterator $iterator, $flags )

public rewind ( )

public valid ( )

public key ( )

public current ( )

public next ( )

public hasNext ( )

public __toString ( )

public getInnerIterator ( )

public getFlags ( )

public setFlags ( $flags )

public offsetGet ( $index )

public offsetSet ( $index, $newval )

public offsetUnset ( $index )

public offsetExists ( $index )

public getCache ( )

public count ( )

Constants

const CALL_TOSTRING = 1

const CATCH_GET_CHILD = 16

const TOSTRING_USE_KEY = 2

const TOSTRING_USE_CURRENT = 4

const TOSTRING_USE_INNER = 8

const FULL_CACHE = 256