updateItem() protected abstract method
Updates an auth item in the RBAC system.
protected abstract boolean updateItem ( $name, $item ) | ||
---|---|---|
$name | string |
The name of the item being updated |
$item | yii\rbac\Item |
The updated item |
return | boolean |
Whether the auth item is successfully updated |
throws | Exception |
if data validation or saving fails (such as the name of the role or permission is not unique) |
Please login to continue.