Remix.run Logo
Contortion 7 days ago

Basically what Collections do in Laravel.

sandreas 7 days ago | parent [-]

Exactly... similar in Symfony.

While converting arrays to collection-object is a suitable option that does work, it would feel much more "native", if there were extension methods for Iterable / Traversable.

Contortion 3 days ago | parent [-]

Agreed. Like in JS and Java, it would be a lot nicer if the language itself had the chainable methods.