Date mutator for 'email_verified_at' attribute on User model stub
This commit is contained in:
parent
6efb843e7d
commit
098cf4600b
|
@ -27,4 +27,13 @@ class User extends Authenticatable
|
|||
protected $hidden = [
|
||||
'password', 'remember_token',
|
||||
];
|
||||
|
||||
/**
|
||||
* The attributes that should be mutated to dates.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $dates = [
|
||||
'email_verified_at',
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue