W3cubDocs

/Symfony 4.1

DoctrineValidationPass

class DoctrineValidationPass implements CompilerPassInterface

Registers additional validators.

Methods

__construct(string $managerType)
process(ContainerBuilder $container)

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

Details

__construct(string $managerType)

Parameters

string $managerType

process(ContainerBuilder $container)

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

Parameters

ContainerBuilder $container