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
Caffeinated
Shinobi
Models
Permission
revokeRole
Caffeinated\Shinobi\Models\Permission::revokeRole PHP Méthode
Permission Class Documentation
Afficher le fichier
Open project: caffeinated/shinobi
revokeRole()
public
méthode
Revokes the given role from the permission.
public
revokeRole
(
integer
$roleId
= '' ) :
boolean
$roleId
integer
Résultat
boolean
public function revokeRole($roleId = '') { return $this->roles()->detach($roleId); }
Permission
assignRole
revokeAllRoles
revokeRole
roles
syncRoles