Symfony\Component\Validator\Validation::createValidator
Creates a new validator.
If you want to configure the validator, use {@link createValidatorBuilder()} instead.
Signature
public function createValidator()
Returns
- ValidatorInterface
- The new validator.