PHP Class App\Services\Auth\Front\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
getHomeUrl ( ) : string
getProfileUrl ( ) : string
getRoleAttribute ( ) : UserRole
getStatusAttribute ( ) : UserStatus
guardDriver ( ) : string
hasRole ( UserRole $role ) : boolean
hasStatus ( UserStatus $status ) : boolean
isActive ( ) : boolean
register ( array $input ) : User
sendPasswordResetNotification ( string $token ) Send the password reset notification.
setRoleAttribute ( UserRole $role )
setStatusAttribute ( UserStatus $status )

Method Details

activate() public méthode

public activate ( ) : User
Résultat User

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\Front\Enums\UserRole

getStatusAttribute() public méthode

public getStatusAttribute ( ) : UserStatus
Résultat App\Services\Auth\Front\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\Front\Enums\UserRole
Résultat boolean

hasStatus() public méthode

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

isActive() public méthode

public isActive ( ) : boolean
Résultat boolean

register() public static méthode

public static register ( array $input ) : User
$input array
Résultat User

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\Front\Enums\UserRole

setStatusAttribute() public méthode

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

Property Details

$table protected_oe property

protected $table