PHP 클래스 App\Services\Auth\Back\User

상속: extends App\Services\Auth\User
파일 보기 프로젝트 열기: spatie-custom/blender 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$table

공개 메소드들

메소드 설명
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 )

메소드 상세

activate() 공개 메소드

public activate ( ) : User
리턴 User

delete() 공개 메소드

public delete ( )

getHomeUrl() 공개 메소드

public getHomeUrl ( ) : string
리턴 string

getProfileUrl() 공개 메소드

public getProfileUrl ( ) : string
리턴 string

getRoleAttribute() 공개 메소드

public getRoleAttribute ( ) : UserRole
리턴 App\Services\Auth\Back\Enums\UserRole

getStatusAttribute() 공개 메소드

public getStatusAttribute ( ) : App\Services\Auth\Back\Enums\UserStatus
리턴 App\Services\Auth\Back\Enums\UserStatus

guardDriver() 공개 메소드

public guardDriver ( ) : string
리턴 string

hasRole() 공개 메소드

public hasRole ( UserRole $role ) : boolean
$role App\Services\Auth\Back\Enums\UserRole
리턴 boolean

hasStatus() 공개 메소드

public hasStatus ( App\Services\Auth\Back\Enums\UserStatus $status ) : boolean
$status App\Services\Auth\Back\Enums\UserStatus
리턴 boolean

isActive() 공개 메소드

public isActive ( ) : boolean
리턴 boolean

sendPasswordResetNotification() 공개 메소드

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

setRoleAttribute() 공개 메소드

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

setStatusAttribute() 공개 메소드

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

프로퍼티 상세

$table 보호되어 있는 프로퍼티

protected $table