class FormPass implements CompilerPassInterface

Adds all services with the tags "form.type", "form.type_extension" and "form.type_guesser" as arguments of the "form.extension" service.

Traits

Trait that allows a generic method to find and sort service by priority option in the tag.

Methods

__construct(string $formExtensionService = 'form.extension', string $formTypeTag = 'form.type', string $formTypeExtensionTag = 'form.type_extension', string $formTypeGuesserTag = 'form.type_guesser', string $formDebugCommandService = 'console.command.form_debug')

No description

process(ContainerBuilder $container)

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

Details

at line 38
__construct(string $formExtensionService = 'form.extension', string $formTypeTag = 'form.type', string $formTypeExtensionTag = 'form.type_extension', string $formTypeGuesserTag = 'form.type_guesser', string $formDebugCommandService = 'console.command.form_debug')

Parameters

string $formExtensionService
string $formTypeTag
string $formTypeExtensionTag
string $formTypeGuesserTag
string $formDebugCommandService

at line 47
process(ContainerBuilder $container)

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

Parameters

ContainerBuilder $container