Repository navigation
Why Eloquent Builder methods returns static? #46291
Unanswered
localusercamp
asked this question in
Q&A
Replies: 2 comments 6 replies
|
|
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I found that Illuminate\Database\Eloquent\Builder methods
@returnphpDoc annotations contains bothModelandstatictype or (Collectionandstatic[]). Why it so? When builder can return array of queries fromget()call?All reactions