[ Index ] |
PHP Cross Reference of phpBB-3.3.9-deutsch |
[Source view] [Print] [Project Stats]
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 |
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: Wed Dec 7 15:09:22 2022 | Cross-referenced by PHPXref 0.7.1 |