FormPass
class FormPass implements CompilerPassInterface
Adds all services with the tags "form.type", "form.typeextension" and "form.typeguesser" as arguments of the "form.extension" service.
Traits
PriorityTaggedServiceTrait | Trait that allows a generic method to find and sort service by priority option in the tag. |
Methods
__construct($formExtensionService = 'form.extension', $formTypeTag = 'form.type', $formTypeExtensionTag = 'form.type_extension', $formTypeGuesserTag = 'form.type_guesser') | ||
process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. |
Details
__construct($formExtensionService = 'form.extension', $formTypeTag = 'form.type', $formTypeExtensionTag = 'form.type_extension', $formTypeGuesserTag = 'form.type_guesser')
Parameters
$formExtensionService | ||
$formTypeTag | ||
$formTypeExtensionTag | ||
$formTypeGuesserTag |
process(ContainerBuilder $container)
You can modify the container here before it is dumped to PHP code.
Parameters
ContainerBuilder | $container |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.3/Symfony/Component/Form/DependencyInjection/FormPass.html