class SerializerPass implements CompilerPassInterface
Adds all services with the tags "serializer.encoder" and "serializer.normalizer" as encoders and normalizers to the "serializer" service.
PriorityTaggedServiceTrait | Trait that allows a generic method to find and sort service by priority option in the tag. |
__construct(string $serializerService = 'serializer', string $normalizerTag = 'serializer.normalizer', string $encoderTag = 'serializer.encoder') | ||
process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. |
string | $serializerService | |
string | $normalizerTag | |
string | $encoderTag |
You can modify the container here before it is dumped to PHP code.
ContainerBuilder | $container |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Serializer/DependencyInjection/SerializerPass.html