Documentation

DecoratorServicePass extends AbstractRecursivePass
in package

Overwrites a service but keeps the overridden one.

Tags
author

Christophe Coevoet stof@notk.org

author

Fabien Potencier fabien@symfony.com

author

Diego Saint Esteben diego@saintesteben.me

Table of Contents

$container  : ContainerBuilder
$currentId  : mixed
$expressionLanguage  : mixed
$inExpression  : mixed
$innerId  : mixed
$processExpressions  : mixed
__construct()  : mixed
process()  : mixed
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

Methods

__construct()

public __construct([string|null $innerId = '.inner' ]) : mixed
Parameters
$innerId : string|null = '.inner'
Return values
mixed

enableExpressionProcessing()

protected enableExpressionProcessing() : mixed
Return values
mixed

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

Search results