<?php

namespace ContainerAyoJmP9;

use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;

/*
 * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
 */
class getMessenger_Transport_SymfonySerializerService extends App_KernelProdContainer
{
    /*
     * Gets the private 'messenger.transport.symfony_serializer' shared service.
     *
     * @return \Symfony\Component\Messenger\Transport\Serialization\Serializer
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 5).'/www/html/vendor/symfony/messenger/Transport/Serialization/SerializerInterface.php';
        include_once \dirname(__DIR__, 5).'/www/html/vendor/symfony/messenger/Transport/Serialization/Serializer.php';

        $a = ($container->privates['serializer'] ?? self::getSerializerService($container));

        if (isset($container->privates['messenger.transport.symfony_serializer'])) {
            return $container->privates['messenger.transport.symfony_serializer'];
        }

        $instance = new \Symfony\Component\Messenger\Transport\Serialization\Serializer($a, 'json', []);

        if (isset($container->privates['messenger.transport.symfony_serializer'])) {
            return $container->privates['messenger.transport.symfony_serializer'];
        }

        return $container->privates['messenger.transport.symfony_serializer'] = $instance;
    }
}
