Categories
Is it better to pass a collection or an array to a template?
What is better to pass to Blade: a collection or doing ->toArray() before calling the template? Who does what? What is more productive?
Answer the question
In order to leave comments, you need to log in
Send whatever you want. Blade can work with everything.
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question