UserRules::validId()
Validates a user id
Parameters
Name | Type | Default |
---|---|---|
$user * | Kirby\Cms\User |
– |
$id * | string |
– |
Return type
bool
Exceptions
Type | Description |
---|---|
Kirby\Exception\DuplicateException |
If the user already exists |