DoctrineValidationPass
in package
implements
CompilerPassInterface
Registers additional validators.
Tags
Table of Contents
Interfaces
- CompilerPassInterface
- Interface that must be implemented by compilation passes.
Properties
- $managerType : string
Methods
- __construct() : mixed
- process() : mixed
- You can modify the container here before it is dumped to PHP code.
- updateValidatorMappingFiles() : mixed
- Gets the validation mapping files for the format and extends them with files matching a doctrine search pattern (Resources/config/validation.orm.xml).
Properties
$managerType
private
string
$managerType
Methods
__construct()
public
__construct(string $managerType) : mixed
Parameters
- $managerType : string
process()
You can modify the container here before it is dumped to PHP code.
public
process(ContainerBuilder $container) : mixed
Parameters
- $container : ContainerBuilder
updateValidatorMappingFiles()
Gets the validation mapping files for the format and extends them with files matching a doctrine search pattern (Resources/config/validation.orm.xml).
private
updateValidatorMappingFiles(ContainerBuilder $container, string $mapping, string $extension) : mixed
Parameters
- $container : ContainerBuilder
- $mapping : string
- $extension : string