php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
RecursiveCachingIterator Class Reference
Inheritance diagram for RecursiveCachingIterator:
CachingIterator RecursiveIterator IteratorIterator ArrayAccess Countable Stringable Iterator OuterIterator Traversable Iterator Traversable

Public Member Functions

 __construct (Iterator $iterator, int $flags=RecursiveCachingIterator::CALL_TOSTRING)
 
 hasChildren ()
 
 getChildren ()
 
- Public Member Functions inherited from CachingIterator
 rewind ()
 
 valid ()
 
 next ()
 
 hasNext ()
 
 __toString ()
 
 getFlags ()
 
 setFlags (int $flags)
 
 offsetGet ($key)
 
 offsetSet ($key, mixed $value)
 
 offsetUnset ($key)
 
 offsetExists ($key)
 
 getCache ()
 
 count ()
 
- Public Member Functions inherited from IteratorIterator
 __construct (Traversable $iterator, ?string $class=null)
 
 getInnerIterator ()
 
 key ()
 
 current ()
 
- Public Member Functions inherited from ArrayAccess
 offsetExists (mixed $offset)
 
 offsetGet (mixed $offset)
 
 offsetSet (mixed $offset, mixed $value)
 
 offsetUnset (mixed $offset)
 

Additional Inherited Members

- Data Fields inherited from CachingIterator
const int CALL_TOSTRING = UNKNOWN
 
const int CATCH_GET_CHILD = UNKNOWN
 
const int TOSTRING_USE_KEY = UNKNOWN
 
const int TOSTRING_USE_CURRENT = UNKNOWN
 
const int TOSTRING_USE_INNER = UNKNOWN
 
const int FULL_CACHE = UNKNOWN
 

Detailed Description

Definition at line 278 of file spl_iterators.stub.php.

Constructor & Destructor Documentation

◆ __construct()

RecursiveCachingIterator::__construct ( Iterator $iterator,
int $flags = RecursiveCachingIterator::CALL_TOSTRING )

Reimplemented from CachingIterator.

Definition at line 280 of file spl_iterators.stub.php.

Member Function Documentation

◆ getChildren()

RecursiveCachingIterator::getChildren ( )

@tentative-return-type

Implements RecursiveIterator.

Definition at line 286 of file spl_iterators.stub.php.

◆ hasChildren()

RecursiveCachingIterator::hasChildren ( )

@tentative-return-type

Implements RecursiveIterator.

Definition at line 283 of file spl_iterators.stub.php.


The documentation for this class was generated from the following file: