DEV Community

loading...

Discussion on: PHP needs its own ES6

Collapse
aleksikauppila profile image
Aleksi Kauppila

This actually the approach i've been using for quite some time now. I usually just implement IteratorAggregate and create adding methods. Still, this usually means that i implement a lot of these classes. Lots of repetition, lots of new files.

Forem Open with the Forem app