2014-08-11 10:13:20 -05:00
|
|
|
<?php namespace App;
|
2013-01-11 15:14:07 -06:00
|
|
|
|
2014-05-02 09:28:10 -05:00
|
|
|
use Illuminate\Auth\UserTrait;
|
2014-08-29 13:58:51 +02:00
|
|
|
use Illuminate\Database\Eloquent\Model;
|
2014-05-13 08:14:16 -05:00
|
|
|
use Illuminate\Auth\Reminders\RemindableTrait;
|
2014-08-23 12:50:39 -05:00
|
|
|
use Illuminate\Contracts\Auth\User as UserContract;
|
|
|
|
|
use Illuminate\Contracts\Auth\Remindable as RemindableContract;
|
2013-01-11 15:14:07 -06:00
|
|
|
|
2014-08-29 13:58:51 +02:00
|
|
|
class User extends Model implements UserContract, RemindableContract {
|
2013-01-11 15:14:07 -06:00
|
|
|
|
2014-05-02 09:28:10 -05:00
|
|
|
use UserTrait, RemindableTrait;
|
|
|
|
|
|
2013-01-11 15:14:07 -06:00
|
|
|
/**
|
|
|
|
|
* The database table used by the model.
|
|
|
|
|
*
|
|
|
|
|
* @var string
|
|
|
|
|
*/
|
|
|
|
|
protected $table = 'users';
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The attributes excluded from the model's JSON form.
|
|
|
|
|
*
|
|
|
|
|
* @var array
|
|
|
|
|
*/
|
2014-08-11 10:13:20 -05:00
|
|
|
protected $hidden = ['password', 'remember_token'];
|
2013-01-11 15:14:07 -06:00
|
|
|
|
2014-03-15 10:14:55 +00:00
|
|
|
}
|