Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
App
Services
Auth
Back
User
setRoleAttribute
App\Services\Auth\Back\User::setRoleAttribute PHP Méthode
User Class Documentation
Afficher le fichier
Open project: spatie-custom/blender
setRoleAttribute()
public
méthode
public
setRoleAttribute
(
UserRole
$role
)
$role
App\Services\Auth\Back\Enums\UserRole
public function setRoleAttribute(UserRole $role) { $this->attributes['role'] = $role->getValue(); }
User
activate
delete
getHomeUrl
getProfileUrl
getRoleAttribute
getStatusAttribute
guardDriver
hasRole
hasStatus
isActive
sendPasswordResetNotification
setRoleAttribute
setStatusAttribute