See https://laracasts.com/discuss/channels/laravel/method-prefix-does-not-exist
dattz said: $collection = collect($data); You can then go ahead and use the `toArray()` method to c...
The Laravel portal for problem solving, knowledge sharing and community building.
The community