コード例 #1
0
 /**
  * Delete a role from the system permanently. There is no soft delete currently.
  *
  * When deleted successfully the role instance passed in will have its role_id unset
  *
  * @param Role $role Role to be deleted
  * @throws \RBAC\Exception\ValidationError
  * @return bool
  */
 public function roleDelete(Role $role)
 {
     return $this->storage->roleDelete($role);
 }