AddConstraintValidatorsPass
class AddConstraintValidatorsPass implements CompilerPassInterface
Methods
__construct(string $validatorFactoryServiceId = 'validator.validator_factory', string $constraintValidatorTag = 'validator.constraint_validator') | ||
process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. |
Details
__construct(string $validatorFactoryServiceId = 'validator.validator_factory', string $constraintValidatorTag = 'validator.constraint_validator')
Parameters
string | $validatorFactoryServiceId | |
string | $constraintValidatorTag |
process(ContainerBuilder $container)
You can modify the container here before it is dumped to PHP code.
Parameters
ContainerBuilder | $container |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Validator/DependencyInjection/AddConstraintValidatorsPass.html