Documentation

AddAutoMappingConfigurationPass
in package
implements CompilerPassInterface

Injects the automapping configuration as last argument of loaders tagged with the "validator.auto_mapper" tag.

Tags
author

Kévin Dunglas dunglas@gmail.com

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

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>
Return values
string|null

        
On this page

Search results