timtom
3 months ago
206
1
Laravel

Foreach index=>value equivalent with collection map

Posted 3 months ago by timtom

Hello,

I know that i can use ->toArray() function of collection but i would like to know if an equivalent exist or not ?

Thanks

Please sign in or create an account to participate in this conversation.