class RepeatedPass implements CompilerPassInterface

A pass that might be run repeatedly.

Methods

__construct(array $passes)

No description

process(ContainerBuilder $container)

Process the repeatable passes that run more than once.

setRepeat()

Sets if the pass should repeat.

getPasses()

Returns the passes.

Details

at line line 39
__construct(array $passes)

Parameters

array $passes An array of RepeatablePassInterface objects

Exceptions

InvalidArgumentException when the passes don't implement RepeatablePassInterface

at line line 57
process(ContainerBuilder $container)

Process the repeatable passes that run more than once.

Parameters

ContainerBuilder $container

at line line 70
setRepeat()

Sets if the pass should repeat.

at line line 80
RepeatablePassInterface[] getPasses()

Returns the passes.

Return Value

RepeatablePassInterface[] An array of RepeatablePassInterface objects