} /**
* Creates a new validator.
*
* If you want to configure the validator, use
* {@link createValidatorBuilder()} instead.
*/
public static function createValidator(): ValidatorInterface
{ return self::
createValidatorBuilder()->
getValidator();
} /**
* Creates a configurable builder for validator objects.
*/
public static function createValidatorBuilder(): ValidatorBuilder
{ return new ValidatorBuilder();
} /**
* This class cannot be instantiated.
*/