Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[5.7] Make ResourceCollection countable such that it works with count() #26595
I ran into an issue with a Laravel 5.5 project that I've been upgrading to 5.7 and moving to PHP 7.2.
For consistent representation of my models, I transform them using resources via a presenter and when passing a resource collection to the Blade
This PR makes