Documentation

ResolveTaggedIteratorArgumentPass extends AbstractRecursivePass
in package
uses PriorityTaggedServiceTrait

Resolves all TaggedIteratorArgument arguments.

Tags
author

Roland Franssen franssen.roland@gmail.com

Table of Contents

Properties

$container  : ContainerBuilder
$currentId  : mixed
$skipScalars  : bool

Methods

process()  : void
You can modify the container here before it is dumped to PHP code.
enableExpressionProcessing()  : void
getConstructor()  : ReflectionFunctionAbstract|null
getReflectionMethod()  : ReflectionFunctionAbstract
inExpression()  : bool
processValue()  : mixed
Processes a value found in a definition tree.
findAndSortTaggedServices()  : array<string|int, Reference>
Finds all services with the given tag name and order them by their priority.

Properties

Methods

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

findAndSortTaggedServices()

Finds all services with the given tag name and order them by their priority.

private findAndSortTaggedServices(string|TaggedIteratorArgument $tagName, ContainerBuilder $container[, array<string|int, mixed> $exclude = [] ]) : array<string|int, Reference>

The order of additions must be respected for services having the same priority, and knowing that the \SplPriorityQueue class does not respect the FIFO method, we should not use that class.

Parameters
$tagName : string|TaggedIteratorArgument
$container : ContainerBuilder
$exclude : array<string|int, mixed> = []
Tags
see
https://bugs.php.net/53710
see
https://bugs.php.net/60926
Return values
array<string|int, Reference>

        
On this page

Search results