Laravel unexpected error “class user contains 3 abstract methods…”

前端 未结 8 574
野趣味
野趣味 2021-01-30 01:56

While programming my Authentication app on Laravel, I came across to an error I\'ve never seen before. I\'ve been brainstorming for almost an hour for the cause of this problem

8条回答
  •  梦毁少年i
    2021-01-30 02:40

    Class User contains 6 abstract methods and must therefore be declared abstract or implement the remaining methods

    (Illuminate\Auth\UserInterface::getAuthIdentifier,

    Illuminate\Auth\UserInterface::getAuthPassword,

    Illuminate\Auth\UserInterface::getRememberToken, ...)

提交回复
热议问题