Skip to content

Made internal attributes/functions private & added getCache method.

Compare
Choose a tag to compare
@lunkkun lunkkun released this 29 Oct 19:54
· 4 commits to master since this release

For compatibility with the SPL CachingIterator class, the method ->getCache() was added. Since the cache and the generator are now both exposed via public methods, the internal attributes (and an internal helper method) have been made private.