Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Caffeinated
Shinobi
Models
Permission
revokeRole
Caffeinated\Shinobi\Models\Permission::revokeRole PHP Method
Permission Class Documentation
Datei anzeigen
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