W3cubDocs

/Symfony 4.1

AddValidatorInitializersPass

class AddValidatorInitializersPass implements CompilerPassInterface

Methods

__construct(string $builderService = 'validator.builder', string $initializerTag = 'validator.initializer')
process(ContainerBuilder $container)

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

Details

__construct(string $builderService = 'validator.builder', string $initializerTag = 'validator.initializer')

Parameters

string $builderService
string $initializerTag

process(ContainerBuilder $container)

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

Parameters

ContainerBuilder $container