Laravel 5.7

This commit is contained in:
shibafu committed 2020-05-23 21:34:54 +09:00
1 parent 17ee207281
commit a531e5c9bb
23 files changed
+974 -158

No files matched your search

+9
View File
@@ -32,6 +32,15 @@ class User extends Authenticatable
'password', 'remember_token',
];
/**
* The attributes that should be cast to native types.
*
* @var array
*/
protected $casts = [
// 'email_verified_at' => 'datetime',
];
/**
* このユーザのメールアドレスから、Gravatarの画像URLを生成します。
* @param int $size 画像サイズ