The CachingIterator classCachingIterator
&reftitle.intro;
This object supports cached iteration over another iterator.
&reftitle.classsynopsis;
CachingIteratorextendsIteratorIteratorimplementsArrayAccessCountableStringable&Constants;publicconstintCachingIterator::CALL_TOSTRINGpublicconstintCachingIterator::CATCH_GET_CHILDpublicconstintCachingIterator::TOSTRING_USE_KEYpublicconstintCachingIterator::TOSTRING_USE_CURRENTpublicconstintCachingIterator::TOSTRING_USE_INNERpublicconstintCachingIterator::FULL_CACHE&Methods;&InheritedMethods;
&reftitle.constants;
CachingIterator::CALL_TOSTRINGConvert every element to string.CachingIterator::CATCH_GET_CHILDDon't throw exception in accessing children.CachingIterator::TOSTRING_USE_KEY
Use key for conversion to
string.
CachingIterator::TOSTRING_USE_CURRENT
Use current for
conversion to string.CachingIterator::TOSTRING_USE_INNER
Use inner
for conversion to string.
CachingIterator::FULL_CACHECache all read data.
&reftitle.changelog;
&Version;&Description;8.0.0CachingIterator implements
Stringable now.
&reference.spl.entities.cachingiterator;