removeItem() public method
Removes an auth item from the RBAC system.
| public boolean removeItem ( $item ) | ||
|---|---|---|
| $item | yii\rbac\Item |
The item to remove |
| return | boolean |
Whether the role or permission is successfully removed |
| throws | Exception |
if data validation or saving fails (such as the name of the role or permission is not unique) |
Please login to continue.