&class.theclass; CachingIteratorCachingIterator
&reftitle.intro;
Cet objet supporte les itérations en cache sur un autre itérateur.
&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_TOSTRINGConvertit tous les éléments en chaines.CachingIterator::CATCH_GET_CHILDN'envoie aucune exception lors de la tentative d'accéder à un enfant.CachingIterator::TOSTRING_USE_KEYUtilise key lors de la
conversion en chaine.CachingIterator::TOSTRING_USE_CURRENTUtilise current lors de la
conversion en chaine.CachingIterator::TOSTRING_USE_INNERUtilise inner lors de
la conversion en chaine.CachingIterator::FULL_CACHE
Met en cache toutes les données lues.
&reftitle.changelog;
&Version;&Description;8.0.0
La classe CachingIterator implémente désormais Stringable.
&reference.spl.entities.cachingiterator;