You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IteratorAggregate is amazing! I'm amazed that I haven't ever used it before today.
It allows a class to supply its own Iterator in the getIterator():iterable function. This means a readonly class can supply a new ArrayIterator($this->myArrayList) , which is super useful in the context of binding lists in DomTemplate.
The text was updated successfully, but these errors were encountered:
IteratorAggregate
is amazing! I'm amazed that I haven't ever used it before today.It allows a class to supply its own Iterator in the
getIterator():iterable
function. This means areadonly
class can supply anew ArrayIterator($this->myArrayList)
, which is super useful in the context of binding lists in DomTemplate.The text was updated successfully, but these errors were encountered: