ReplaceAliasByActualDefinitionPass
extends AbstractRecursivePass
in package
Replaces aliases with actual service definitions, effectively removing these aliases.
Tags
Table of Contents
- $container : ContainerBuilder
- $currentId : mixed
- $autoAliasServicePass : mixed
- $expressionLanguage : mixed
- $inExpression : mixed
- $processExpressions : mixed
- $replacements : mixed
- process() : mixed
- Process the Container to replace aliases with service definitions.
- enableExpressionProcessing() : mixed
- getConstructor() : ReflectionFunctionAbstract|null
- getReflectionMethod() : ReflectionFunctionAbstract
- inExpression() : bool
- processValue() : mixed
- Processes a value found in a definition tree.
- getExpressionLanguage() : ExpressionLanguage
Properties
$container
protected
ContainerBuilder
$container
$currentId
protected
mixed
$currentId
$autoAliasServicePass
private
mixed
$autoAliasServicePass
$expressionLanguage
private
mixed
$expressionLanguage
$inExpression
private
mixed
$inExpression
= false
$processExpressions
private
mixed
$processExpressions
= false
$replacements
private
mixed
$replacements
Methods
process()
Process the Container to replace aliases with service definitions.
public
process(ContainerBuilder $container) : mixed
Parameters
- $container : ContainerBuilder
Tags
Return values
mixed —enableExpressionProcessing()
protected
enableExpressionProcessing() : mixed
Return values
mixed —getConstructor()
protected
getConstructor(Definition $definition, bool $required) : ReflectionFunctionAbstract|null
Parameters
- $definition : Definition
- $required : bool
Tags
Return values
ReflectionFunctionAbstract|null —getReflectionMethod()
protected
getReflectionMethod(Definition $definition, string $method) : ReflectionFunctionAbstract
Parameters
- $definition : Definition
- $method : string
Tags
Return values
ReflectionFunctionAbstract —inExpression()
protected
inExpression([bool $reset = true ]) : bool
Parameters
- $reset : bool = true
Return values
bool —processValue()
Processes a value found in a definition tree.
protected
processValue(mixed $value[, bool $isRoot = false ]) : mixed
Parameters
- $value : mixed
- $isRoot : bool = false
Return values
mixed —getExpressionLanguage()
private
getExpressionLanguage() : ExpressionLanguage