PHP Class App\Services\Auth\Back\User

Inheritance: extends App\Services\Auth\User
Afficher le fichier Open project: spatie-custom/blender Class Usage Examples

Protected Properties

Свойство Type Description
$table

Méthodes publiques

Méthode Description
activate ( ) : User
delete ( )
getHomeUrl ( ) : string
getProfileUrl ( ) : string
getRoleAttribute ( ) : UserRole
getStatusAttribute ( ) : App\Services\Auth\Back\Enums\UserStatus
guardDriver ( ) : string
hasRole ( UserRole $role ) : boolean
hasStatus ( App\Services\Auth\Back\Enums\UserStatus $status ) : boolean
isActive ( ) : boolean
sendPasswordResetNotification ( string $token ) Send the password reset notification.
setRoleAttribute ( UserRole $role )
setStatusAttribute ( App\Services\Auth\Back\Enums\UserStatus $status )

Method Details

activate() public méthode

public activate ( ) : User
Résultat User

delete() public méthode

public delete ( )

getHomeUrl() public méthode

public getHomeUrl ( ) : string
Résultat string

getProfileUrl() public méthode

public getProfileUrl ( ) : string
Résultat string

getRoleAttribute() public méthode

public getRoleAttribute ( ) : UserRole
Résultat App\Services\Auth\Back\Enums\UserRole

getStatusAttribute() public méthode

public getStatusAttribute ( ) : App\Services\Auth\Back\Enums\UserStatus
Résultat App\Services\Auth\Back\Enums\UserStatus

guardDriver() public méthode

public guardDriver ( ) : string
Résultat string

hasRole() public méthode

public hasRole ( UserRole $role ) : boolean
$role App\Services\Auth\Back\Enums\UserRole
Résultat boolean

hasStatus() public méthode

public hasStatus ( App\Services\Auth\Back\Enums\UserStatus $status ) : boolean
$status App\Services\Auth\Back\Enums\UserStatus
Résultat boolean

isActive() public méthode

public isActive ( ) : boolean
Résultat boolean

sendPasswordResetNotification() public méthode

Send the password reset notification.
public sendPasswordResetNotification ( string $token )
$token string

setRoleAttribute() public méthode

public setRoleAttribute ( UserRole $role )
$role App\Services\Auth\Back\Enums\UserRole

setStatusAttribute() public méthode

public setStatusAttribute ( App\Services\Auth\Back\Enums\UserStatus $status )
$status App\Services\Auth\Back\Enums\UserStatus

Property Details

$table protected_oe property

protected $table