function UserNameValidator::__construct

Same name in other branches
  1. 11.x core/modules/user/src/UserNameValidator.php \Drupal\user\UserNameValidator::__construct()

File

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

Class

UserNameValidator
Provides a username validator.

Namespace

Drupal\user

Code

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

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