Hi internals,
Voting has started on the ImmutableIterable RFC https://wiki.php.net/rfc/cachediterable
Previous discussion can be found in https://externals.io/message/114834
Recent changes:
- The name was renamed to ImmutableIterable to indicate that it cannot be changed after
being constructed.
It was brought up in previous discussions that the previous name of CachedIterable
could easily be assumed to have functionality similar to on-demand iterators/iterables such as https://php.net/cachingiterator
(Additionally, immutability is rare among spl data structures)
- __set_state was added
Thanks,
Tyson