AttributeAutoconfigurationPass
extends AbstractRecursivePass
in package
Tags
Table of Contents
- $container : ContainerBuilder
- $currentId : mixed
- $classAttributeConfigurators : mixed
- $expressionLanguage : mixed
- $inExpression : mixed
- $methodAttributeConfigurators : mixed
- $parameterAttributeConfigurators : mixed
- $processExpressions : mixed
- $propertyAttributeConfigurators : mixed
- process() : void
- You can modify the container here before it is dumped to PHP code.
- 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
$classAttributeConfigurators
private
mixed
$classAttributeConfigurators
= []
$expressionLanguage
private
mixed
$expressionLanguage
$inExpression
private
mixed
$inExpression
= false
$methodAttributeConfigurators
private
mixed
$methodAttributeConfigurators
= []
$parameterAttributeConfigurators
private
mixed
$parameterAttributeConfigurators
= []
$processExpressions
private
mixed
$processExpressions
= false
$propertyAttributeConfigurators
private
mixed
$propertyAttributeConfigurators
= []
Methods
process()
You can modify the container here before it is dumped to PHP code.
public
process(ContainerBuilder $container) : void
Parameters
- $container : ContainerBuilder
Return values
void —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