AddAutoMappingConfigurationPass
in package
implements
CompilerPassInterface
Injects the automapping configuration as last argument of loaders tagged with the "validator.auto_mapper" tag.
Tags
Table of Contents
Interfaces
- CompilerPassInterface
- Interface that must be implemented by compilation passes.
Methods
- process() : mixed
- You can modify the container here before it is dumped to PHP code.
- getRegexp() : string|null
- Builds a regexp to check if a class is auto-mapped.
Methods
process()
You can modify the container here before it is dumped to PHP code.
public
process(ContainerBuilder $container) : mixed
Parameters
- $container : ContainerBuilder
getRegexp()
Builds a regexp to check if a class is auto-mapped.
private
getRegexp(array<string|int, mixed> $patterns) : string|null
Parameters
- $patterns : array<string|int, mixed>