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
Silber
Bouncer
Database
HasRoles
retract
Silber\Bouncer\Database\HasRoles::retract PHP Method
HasRoles Trait Documentation
Show file
Open project: JosephSilber/bouncer
retract()
public
method
Retract the given role from the model.
public
retract
(
Role |
string
$role
)
$role
Role |
string
public function retract($role) { (new RemovesRole($role))->from($this); return $this; }
HasRoles
assign
getClipboardInstance
isA
isAll
isAn
isNot
isNotA
isNotAn
retract
roles
scopeWhereIs
scopeWhereIsAll