Files
nl-mall-api/app/User.php

27 lines
449 B
PHP
Raw Normal View History

<?php
namespace App;
2013-01-11 15:14:07 -06:00
2015-12-16 15:18:11 -06:00
use Illuminate\Foundation\Auth\User as Authenticatable;
2013-01-11 15:14:07 -06:00
2015-12-16 15:18:11 -06:00
class User extends Authenticatable
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 = [
2015-10-31 14:40:32 -04:00
'name', 'email', 'password',
2015-10-30 14:14:48 -05:00
];
2013-01-11 15:14:07 -06:00
2015-02-22 20:47:03 -06:00
/**
2016-03-17 17:18:53 -03:00
* The attributes that should be hidden for arrays.
2015-02-22 20:47:03 -06:00
*
* @var array
*/
2015-10-30 14:14:48 -05:00
protected $hidden = [
2015-10-31 14:40:32 -04:00
'password', 'remember_token',
2015-10-30 14:14:48 -05:00
];
2014-03-15 10:14:55 +00:00
}