hypothetical/app/User.php

26 lines
453 B
PHP
Raw Normal View History

2016-08-16 22:00:39 -04:00
<?php namespace App;
2016-01-03 23:55:13 -05:00
use Illuminate\Foundation\Auth\User as Authenticatable;
2016-08-16 22:00:39 -04:00
class User extends Authenticatable {
/**
* The attributes that are mass assignable.
*
* @var array
*/
2016-01-03 23:55:13 -05:00
protected $fillable = [
'name', 'email', 'password',
];
/**
* The attributes excluded from the model's JSON form.
*
* @var array
*/
2016-01-03 23:55:13 -05:00
protected $hidden = [
'password', 'remember_token',
];
2016-08-16 22:00:39 -04:00
}