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.
PriorityTaggedServiceTrait | Trait that allows a generic method to find and sort service by priority option in the tag. |
__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') | ||
process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. |
string | $formExtensionService | |
string | $formTypeTag | |
string | $formTypeExtensionTag | |
string | $formTypeGuesserTag | |
string | $formDebugCommandService |
You can modify the container here before it is dumped to PHP code.
ContainerBuilder | $container |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Form/DependencyInjection/FormPass.html