top | item 44797097

(no title)

Contortion | 7 months ago

Basically what Collections do in Laravel.

discuss

order

sandreas|7 months 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|6 months ago

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