Copied!

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

Trait
Methods
private findAndSortTaggedServices(Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument|string $tagName, Symfony\Component\DependencyInjection\ContainerBuilder $container, array $exclude = []) : array
 

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.

  • see https://bugs.php.net/53710
  • see https://bugs.php.net/60926
  • return \Reference[]
© 2023 Bruce Wells
Search Namespaces \ Classes
Configuration