Communities for your favorite technologies. Explore all Collectives
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Find centralized, trusted content and collaborate around the technologies you use most.
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
I want to make class User extend both Authenticatable and Model at the same time:
User
class User extends Authenticatable class User extends Model
What is the proper way to do it?
Authenticatable
Model
The User class by default extends Illuminate\Foundation\Auth\User as Authenticable. This class already extends the Model class.
Illuminate\Foundation\Auth\User as Authenticable
Check the API for more information
Add a comment
Required, but never shown
By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.
Start asking to get answers
Find the answer to your question by asking.
Explore related questions
See similar questions with these tags.
AuthenticatablefromModelandUserfromAuthenticatableif it's ok !Useralready extends fromModellaravel.com/api/5.4/Illuminate/Foundation/Auth/User.html