UserRules::update()
Validates if the user can be updated
UserRules::update(Kirby\Cms\User $user, array $values = [ ], array $strings = [ ]): void
Parameters
| Name | Type | Default |
|---|---|---|
| $userrequired | Kirby\Cms\User |
no default value |
| $values | array |
[ ]
|
| $strings | array |
[ ]
|
Exceptions
| Type | Description |
|---|---|
Kirby\Exception\PermissionException |
If the user it not allowed to update this user |