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