Laravel 5.4 includes support for higher order messaging, which is a fancy term that essentially breaks down to "collection shortcuts." What if, rather than filtering a collection, passing a closure, and returning some data, you could simply type:
$collection->filter->isArchived()? How cool is that? I'll show you how it all works in this episode.
Published on Jan 23rd, 2017.