PHP Class App\Services\Auth\Front\User

Inheritance: extends App\Services\Auth\User
Show file Open project: spatie-custom/blender Class Usage Examples

Protected Properties

Property Type Description
$table

Public Methods

Method 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 method

public activate ( ) : User
return User

getHomeUrl() public method

public getHomeUrl ( ) : string
return string

getProfileUrl() public method

public getProfileUrl ( ) : string
return string

getRoleAttribute() public method

public getRoleAttribute ( ) : UserRole
return App\Services\Auth\Front\Enums\UserRole

getStatusAttribute() public method

public getStatusAttribute ( ) : UserStatus
return App\Services\Auth\Front\Enums\UserStatus

guardDriver() public method

public guardDriver ( ) : string
return string

hasRole() public method

public hasRole ( UserRole $role ) : boolean
$role App\Services\Auth\Front\Enums\UserRole
return boolean

hasStatus() public method

public hasStatus ( UserStatus $status ) : boolean
$status App\Services\Auth\Front\Enums\UserStatus
return boolean

isActive() public method

public isActive ( ) : boolean
return boolean

register() public static method

public static register ( array $input ) : User
$input array
return User

sendPasswordResetNotification() public method

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

setRoleAttribute() public method

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

setStatusAttribute() public method

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

Property Details

$table protected property

protected $table