Skip to content

Kirby 6.0.0

$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

Parent class

Kirby\Guards\UserValidators