Short information about First
The first
method returns the first element in the collection that passes a given truth test.
Read more in the official Laravel docs.
Repository: familytree365/backend
(Github)
★ 83
Created: May 2021
Updated: Aug 2021
Laravel version: 8
Files in the example:
- tests/Feature/ApiAuth/LoginTest.php