Date mutator for 'email_verified_at' attribute on User model stub
This commit is contained in:
@@ -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',
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user