Class

Symfony\Component\DependencyInjection\Compiler\RepeatedPass

class RepeatedPass implements CompilerPassInterface

A pass that might be run repeatedly.

Methods

__construct(array $passes)

Constructor.

process(ContainerBuilder $container)

Process the repeatable passes that run more than once.

setRepeat()

Sets if the pass should repeat

RepeatablePassInterface[] getPasses()

Returns the passes

Details

at line 41
public __construct(array $passes)

Constructor.

Parameters

array $passes An array of RepeatablePassInterface objects

Exceptions

InvalidArgumentException when the passes don't implement RepeatablePassInterface

at line 59
public process(ContainerBuilder $container)

Process the repeatable passes that run more than once.

Parameters

ContainerBuilder $container

at line 74
public setRepeat()

Sets if the pass should repeat

at line 84
public RepeatablePassInterface[] getPasses()

Returns the passes

Return Value

RepeatablePassInterface[] An array of RepeatablePassInterface objects