class UserDoesNotExistValidator extends AbstractValidator (View source)

Validator for Neos users

Properties

protected UserService $userService

Methods

void
isValid(mixed $value)

Returns true, if the specified user ($value) does not exist yet.

Details

protected void isValid(mixed $value)

Returns true, if the specified user ($value) does not exist yet.

If at least one error occurred, the result is false.

Parameters

mixed $value

The value that should be validated

Return Value

void

Exceptions

InvalidSubjectException