function UserNameValidator::__construct

File

core/modules/user/src/UserNameValidator.php, line 19

Class

UserNameValidator
Provides a username validator.

Namespace

Drupal\user

Code

public function __construct(protected readonly BasicRecursiveValidatorFactory $validatorFactory, protected readonly ConstraintManager $constraintManager) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.