Advertisement
KristinLee

User

Feb 7th, 2017
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.55 KB | None | 0 0
  1. <?php
  2. // This is User Model
  3.  
  4. namespace App;
  5.  
  6. use Illuminate\Notifications\Notifiable;
  7. use Illuminate\Foundation\Auth\User as Authenticatable;
  8.  
  9. class User extends Authenticatable
  10. {
  11.     use Notifiable;
  12.  
  13.     /**
  14.      * The attributes that are mass assignable.
  15.      *
  16.      * @var array
  17.      */
  18.     protected $fillable = [
  19.         'name', 'email', 'password',
  20.     ];
  21.  
  22.     /**
  23.      * The attributes that should be hidden for arrays.
  24.      *
  25.      * @var array
  26.      */
  27.     protected $hidden = [
  28.         'password', 'remember_token',
  29.     ];
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement