Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
BookStack
Repos
PermissionsRepo
getRoleById
BookStack\Repos\PermissionsRepo::getRoleById PHP Method
PermissionsRepo Class Documentation
Show file
Open project: ssddanbrown/bookstack
getRoleById()
public
method
Get a role via its ID.
public
getRoleById
(
$id
) :
mixed
$id
return
mixed
public function getRoleById($id) { return $this->role->findOrFail($id); }
PermissionsRepo
__construct
assignRolePermissions
deleteRole
getAllRoles
getAllRolesExcept
getRoleById
saveNewRole
updateRole