Examples of Collection Methods: First (1)

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)
★ 64 Created: May 2021 Updated: Jul 2021 Laravel version: 8
Files in the example:
- tests/Feature/ApiAuth/LoginTest.php