About This Episode

The first stop on our Laravel 6 tour is lazy collections, contributed by Joseph Silber. This is easily one of my favorite additions to Laravel 6. While a traditional Collection wraps an array, a LazyCollection leverages generators to significantly reduce memory consumption issues, while still offering the same elegant chaining that you've become accustomed to.

Published on Sep 3rd, 2019.

Discuss It

Back to Series Button