Created
February 15, 2015 12:44
-
-
Save coreymcmahon/b2260acf43f212a9a806 to your computer and use it in GitHub Desktop.
Laravel 5 User model - http://slashnode.com/definitive-laravel-4-to-laravel-5-migration-guide/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php namespace App\Models; | |
use Illuminate\Auth\Authenticatable; | |
use Illuminate\Auth\Passwords\CanResetPassword; | |
use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract; | |
use Illuminate\Contracts\Auth\CanResetPassword as CanResetPasswordContract; | |
use Illuminate\Database\Eloquent\Model; | |
class User extends Model implements AuthenticatableContract, CanResetPasswordContract | |
{ | |
use Authenticatable, CanResetPassword; | |
/** etc... */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment