$userValidators->validateAvatarMime()
Validates that the content of the avatar file is an image
$userValidators->validateAvatarMime(string $source): void
Parameters
| Name | Type | Default |
|---|---|---|
| $sourcerequired | string |
no default value |
Validates that the content of the avatar file is an image
$userValidators->validateAvatarMime(string $source): void
| Name | Type | Default |
|---|---|---|
| $sourcerequired | string |
no default value |