Published On Jul. 27th 2016

What's New in Laravel 5.3: The Query Builder Now Returns Collections

Episode 2 Run Time 2:46

Download
We're still taking it slow. What kind of series would it be if we discussed the coolest additions first? Anyways...next up, we have a small, but important change to be aware of. As of 5.3, all query builder calls will return collection objects, rather than arrays. If you think about it, this will make the general Laravel API more consistent, as relevant Eloquent calls already return collection objects.