Add a global method to all eloquent models.
I want to add a method to all eloquent model without adding the method to models manually. I don't want to use any traits.
Thanks for help.
Please sign in or create an account to participate in this conversation.
There's no shortage of content at Laracasts. In fact, you could watch nonstop
for days upon days, and still not see everything!