manelgavalda5 years agoLevel 50ReplyReport SpamWhat you can do is to make one User extend the User (parent) class and then make your User (parent) class extend Authenticable. Something like: User: use \TCG\Voyager\Models\User as BaseUser; class User extends BaseUser User (parent): class User extends Authenticatable implements MustVerifyEmail Like Reply 1 like
MichalOravec5 years agoLevel 75ReplyReport SpamYou can extend only one class in PHP. Like Reply 1 like
chr15k5 years ago Best Answer Level 7ReplyReport Spam@nicwek PHP doesn't support multiple inheritance. It appears \TCG\Voyager\Models\User already extends Illuminate\Foundation\Auth\User as Authenticatable so assuming the following link is the class you're using, you can just remove the extends Authenticable part of the line. https://github.com/the-control-group/voyager/blob/1.4/src/Models/User.php Like Reply
nicwek OP 5 years agoLevel 1ReplyReport SpamThanks alot, guys for the helpful responses. My problem is resolved. Like Reply