Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
App
Services
Auth
Front
User
getRoleAttribute
App\Services\Auth\Front\User::getRoleAttribute PHP Method
User Class Documentation
显示文件
Open project: spatie-custom/blender
getRoleAttribute()
public
method
public
getRoleAttribute
( ) :
UserRole
return
App\Services\Auth\Front\Enums\UserRole
public function getRoleAttribute() : UserRole { return new UserRole($this->attributes['role']); }
User
activate
getHomeUrl
getProfileUrl
getRoleAttribute
getStatusAttribute
guardDriver
hasRole
hasStatus
isActive
register
sendPasswordResetNotification
setRoleAttribute
setStatusAttribute