Let's talk about all()
and first()
methods of Eloquent. They have different parameters and kinds of advanced features.
So typically, if we launch all()
, for example, from Tinker, it returns all the models.
In this case, there are three users in the database. Did you know you can specify the fields? The all()
method accepts...