<
e29
firstWhere()

Mark as watched? Login

Notes

Login to write notes for this video.

Description

In this episode, we take a look at the filtering method of firstWhere(), a convenient shortcut method that allows a where() and first() call, all in one method. We also take a look at an upcoming change in Laravel 5.8.