class RepeatedPass implements CompilerPassInterface
A pass that might be run repeatedly.
__construct(array $passes) | ||
process(ContainerBuilder $container) Process the repeatable passes that run more than once. | ||
setRepeat() Sets if the pass should repeat. | ||
RepeatablePassInterface[] | getPasses() Returns the passes. |
array | $passes | An array of RepeatablePassInterface objects |
InvalidArgumentException | when the passes don't implement RepeatablePassInterface |
Process the repeatable passes that run more than once.
ContainerBuilder | $container |
Sets if the pass should repeat.
Returns the passes.
RepeatablePassInterface[] | An array of RepeatablePassInterface objects |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/DependencyInjection/Compiler/RepeatedPass.html