class ResolveParameterPlaceHoldersPass extends AbstractRecursivePass

Resolves all parameter placeholders "%somevalue%" to their real values.

Properties

protected ContainerBuilder $container from AbstractRecursivePass
protected $currentId from AbstractRecursivePass

Methods

process(ContainerBuilder $container)

You can modify the container here before it is dumped to PHP code.

bool
inExpression(bool $reset = true)

No description

mixed
processValue(mixed $value, bool $isRoot = false)

Processes a value found in a definition tree.

getConstructor(Definition $definition, bool $required)

No description

getReflectionMethod(Definition $definition, string $method)

No description

__construct(bool $resolveArrays = true)

No description

Details

at line 38
process(ContainerBuilder $container)

You can modify the container here before it is dumped to PHP code.

Parameters

ContainerBuilder $container

in AbstractRecursivePass at line 52
protected enableExpressionProcessing()

in AbstractRecursivePass at line 57
protected bool inExpression(bool $reset = true)

Parameters

bool $reset

Return Value

bool

at line 61
protected mixed processValue(mixed $value, bool $isRoot = false)

Processes a value found in a definition tree.

Parameters

mixed $value
bool $isRoot

Return Value

mixed The processed value

in AbstractRecursivePass at line 115
protected ReflectionFunctionAbstract|null getConstructor(Definition $definition, bool $required)

Parameters

Definition $definition
bool $required

Return Value

ReflectionFunctionAbstract|null

Exceptions

RuntimeException

in AbstractRecursivePass at line 171
protected ReflectionFunctionAbstract getReflectionMethod(Definition $definition, string $method)

Parameters

Definition $definition
string $method

Return Value

ReflectionFunctionAbstract

Exceptions

RuntimeException

at line 28
__construct(bool $resolveArrays = true)

Parameters

bool $resolveArrays