W3cubDocs

/Symfony 4.1

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