mediatekformation

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

Interfaces, Classes, Traits and Enums

CompilerPassInterface
Interface that must be implemented by compilation passes.

Table of Contents

$tag  : mixed
$validatorBuilderService  : mixed
__construct()  : mixed
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.

Properties

Methods

__construct()

public __construct([string $validatorBuilderService = 'validator.builder' ][, string $tag = 'validator.auto_mapper' ]) : mixed
Parameters
$validatorBuilderService : string = 'validator.builder'
$tag : string = 'validator.auto_mapper'
Return values
mixed

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

Search results