Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
BookStack
User
attachRoleId
BookStack\User::attachRoleId PHP Метод
Документация по классу User
Показать файл
Открыть проект
attachRoleId()
публичный
Метод
Attach a role id to this user.
public
attachRoleId
(
$id
)
$id
public function attachRoleId($id) { $this->roles()->attach($id); }
User
attachRole
attachRoleId
avatar
can
getAvatar
getDefault
getEditUrl
getProfileUrl
getShortName
hasRole
hasSocialAccount
isDefault
permissions
roles
sendPasswordResetNotification
socialAccounts