Remix.run Logo
sandreas 7 days ago

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.