Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
Caffeinated
Shinobi
Models
Permission
revokeRole
Caffeinated\Shinobi\Models\Permission::revokeRole PHP Method
Permission Class Documentation
Exibir arquivo
Open project: caffeinated/shinobi
revokeRole()
public
method
Revokes the given role from the permission.
public
revokeRole
(
integer
$roleId
= '' ) :
boolean
$roleId
integer
return
boolean
public function revokeRole($roleId = '') { return $this->roles()->detach($roleId); }
Permission
assignRole
revokeAllRoles
revokeRole
roles
syncRoles