2015-06-01 15:43:37 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace App;
|
2013-01-11 15:14:07 -06:00
|
|
|
|
2015-10-30 14:14:48 -05:00
|
|
|
use Illuminate\Foundation\Auth\User as BaseUser;
|
2013-01-11 15:14:07 -06:00
|
|
|
|
2015-10-30 14:14:48 -05:00
|
|
|
class User extends BaseUser
|
2015-02-22 20:47:03 -06:00
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* The attributes that are mass assignable.
|
|
|
|
|
*
|
|
|
|
|
* @var array
|
|
|
|
|
*/
|
2015-10-30 14:14:48 -05:00
|
|
|
protected $fillable = [
|
|
|
|
|
'name', 'email', 'password'
|
|
|
|
|
];
|
2013-01-11 15:14:07 -06:00
|
|
|
|
2015-02-22 20:47:03 -06:00
|
|
|
/**
|
|
|
|
|
* The attributes excluded from the model's JSON form.
|
|
|
|
|
*
|
|
|
|
|
* @var array
|
|
|
|
|
*/
|
2015-10-30 14:14:48 -05:00
|
|
|
protected $hidden = [
|
|
|
|
|
'password', 'remember_token'
|
|
|
|
|
];
|
2014-03-15 10:14:55 +00:00
|
|
|
}
|