symfony / 3.3 / symfony / bundle / frameworkbundle / dependencyinjection / compiler / addconstraintvalidatorspass.html

AddConstraintValidatorsPass deprecated

class AddConstraintValidatorsPass extends AddConstraintValidatorsPass

deprecated

since version 3.3, to be removed in 4.0. Use {@link BaseAddConstraintValidatorsPass} instead

Methods

__construct($validatorFactoryServiceId = 'validator.validator_factory', $constraintValidatorTag = 'validator.constraint_validator') from AddConstraintValidatorsPass
process(ContainerBuilder $container)

You can modify the container here before it is dumped to PHP code.

from AddConstraintValidatorsPass

Details

__construct($validatorFactoryServiceId = 'validator.validator_factory', $constraintValidatorTag = 'validator.constraint_validator')

Parameters

$validatorFactoryServiceId
$constraintValidatorTag

process(ContainerBuilder $container)

You can modify the container here before it is dumped to PHP code.

Parameters

ContainerBuilder $container