class Validation
Entry point for the Validator component.
static ValidatorInterface | createValidator() Creates a new validator. | |
static ValidatorBuilder | createValidatorBuilder() Creates a configurable builder for validator objects. |
Creates a new validator.
If you want to configure the validator, use {@link createValidatorBuilder()} instead.
ValidatorInterface | The new validator |
Creates a configurable builder for validator objects.
ValidatorBuilder | The new builder |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Validator/Validation.html