Demystifying Laravel's Higher Order Messaging
I was browsing some Laravel project codebases when I came across code that looked like this: $participants = collect([...]); $team2Participants = $participants->filter->belongsToTeam(2); $totalScore = $team2Participants->sum->score;…
Read more →