[ Index ]

PHP Cross Reference of phpBB-3.3.7-deutsch




/vendor/symfony/dependency-injection/Compiler/ -> PriorityTaggedServiceTrait.php (summary)

Trait that allows a generic method to find and sort service by priority option in the tag.

Author: Iltar van der Berg <kjarli@gmail.com>
File Size: 54 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 function


Functions that are not part of a class:

findAndSortTaggedServices($tagName, ContainerBuilder $container)   X-Ref
Finds all services with the given tag name and order them by their priority.

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.

param: string $tagName
return: Reference[]

Generated: Thu Mar 24 21:31:15 2022 Cross-referenced by PHPXref 0.7.1