URL Shortener
1.0
A Laravel-based URL shortener application
Chargement...
Recherche...
Aucune correspondance
User.php
Aller à la documentation de ce fichier.
1
<?php
2
3
namespace
App\Models
;
4
5
// use Illuminate\Contracts\Auth\MustVerifyEmail;
6
use Illuminate\Database\Eloquent\Factories\HasFactory;
7
use Illuminate\Foundation\Auth\User as
Authenticatable
;
8
use Illuminate\Notifications\Notifiable;
9
10
class
User
extends
Authenticatable
11
{
13
use HasFactory, Notifiable;
14
20
protected
$fillable
= [
21
'name'
,
22
'email'
,
23
'password'
,
24
];
25
31
protected
$hidden
= [
32
'password'
,
33
'remember_token'
,
34
];
35
41
protected
function
casts
(): array
42
{
43
return
[
44
'email_verified_at'
=>
'datetime'
,
45
'password'
=>
'hashed'
,
46
];
47
}
48
}
App\Models\User
Definition
User.php:11
App\Models\User\$hidden
$hidden
Definition
User.php:31
App\Models\User\$fillable
$fillable
Definition
User.php:20
App\Models\User\casts
casts()
Get the attributes that should be cast.
Definition
User.php:41
Authenticatable
App\Models
Definition
ShortUrl.php:3
app
Models
User.php
Généré le Samedi 7 Février 2026 12:00:11 pour URL Shortener par
1.9.8