&class.theclass; CachingIteratorCachingIterator
&reftitle.intro;
Cet objet supporte les itérations en cache sur un autre itérateur.
&reftitle.classsynopsis;
CachingIteratorCachingIteratorextendsIteratorIteratorArrayAccessCountableStringable&Constants;constintCachingIterator::CALL_TOSTRING1constintCachingIterator::CATCH_GET_CHILD16constintCachingIterator::TOSTRING_USE_KEY2constintCachingIterator::TOSTRING_USE_CURRENT4constintCachingIterator::TOSTRING_USE_INNER8constintCachingIterator::FULL_CACHE256&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;