CachingIterator (class)

The CachingIterator class

Introduction

(PHP 5, PHP 7)

This object supports cached iteration over another iterator.

Class synopsis