Documentation

DefinitionErrorExceptionPass extends AbstractRecursivePass
in package

Throws an exception for any Definitions that have errors and still exist.

Tags
author

Ryan Weaver ryan@knpuniversity.com

Table of Contents

$container  : ContainerBuilder
$currentId  : mixed
$erroredDefinitions  : mixed
$expressionLanguage  : mixed
$inExpression  : mixed
$processExpressions  : mixed
$sourceReferences  : 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
isErrorForRuntime()  : bool

Properties

Methods

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

isErrorForRuntime()

private isErrorForRuntime(string $id, array<string|int, mixed> &$visitedIds) : bool
Parameters
$id : string
$visitedIds : array<string|int, mixed>
Return values
bool

Search results