Copied!

Adds all services with the tags "serializer.encoder" and "serializer.normalizer" as
encoders and normalizers to the "serializer" service.

CloneableInstantiable
Methods
private findAndSortTaggedServices(Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument|string $tagName, Symfony\Component\DependencyInjection\ContainerBuilder $container) : 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.

© 2023 Bruce Wells
Search Namespaces \ Classes
Configuration