<?php

namespace Container0ndx4z1;

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 getTemplateControllerService extends PhpList_Core_Core_ApplicationKernelDevDebugContainer
{
    /**
     * Gets the public 'PhpList\RestBundle\Messaging\Controller\TemplateController' shared autowired service.
     *
     * @return \PhpList\RestBundle\Messaging\Controller\TemplateController
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 4).'/vendor/symfony/framework-bundle/Controller/AbstractController.php';
        include_once \dirname(__DIR__, 4).'/vendor/phplist/rest-api/src/Common/Controller/BaseController.php';
        include_once \dirname(__DIR__, 4).'/vendor/phplist/rest-api/src/Messaging/Controller/TemplateController.php';
        include_once \dirname(__DIR__, 4).'/vendor/phplist/core/src/Domain/Messaging/Service/Manager/TemplateManager.php';
        include_once \dirname(__DIR__, 4).'/vendor/phplist/core/src/Domain/Common/Validator/ValidatorInterface.php';
        include_once \dirname(__DIR__, 4).'/vendor/phplist/core/src/Domain/Messaging/Validator/TemplateLinkValidator.php';
        include_once \dirname(__DIR__, 4).'/vendor/phplist/core/src/Domain/Messaging/Validator/TemplateImageValidator.php';
        include_once \dirname(__DIR__, 4).'/vendor/guzzlehttp/guzzle/src/ClientInterface.php';
        include_once \dirname(__DIR__, 4).'/vendor/psr/http-client/src/ClientInterface.php';
        include_once \dirname(__DIR__, 4).'/vendor/guzzlehttp/guzzle/src/ClientTrait.php';
        include_once \dirname(__DIR__, 4).'/vendor/guzzlehttp/guzzle/src/Client.php';
        include_once \dirname(__DIR__, 4).'/vendor/phplist/core/src/Domain/Messaging/Service/Mapper/DefaultTemplateMapper.php';

        $a = ($container->services['translator'] ?? self::getTranslatorService($container));

        $container->services['PhpList\\RestBundle\\Messaging\\Controller\\TemplateController'] = $instance = new \PhpList\RestBundle\Messaging\Controller\TemplateController(($container->services['PhpList\\Core\\Security\\Authentication'] ?? $container->load('getAuthenticationService')), ($container->privates['PhpList\\RestBundle\\Common\\Validator\\RequestValidator'] ?? $container->load('getRequestValidatorService')), ($container->privates['PhpList\\RestBundle\\Messaging\\Serializer\\TemplateNormalizer'] ?? self::getTemplateNormalizerService($container)), new \PhpList\Core\Domain\Messaging\Service\Manager\TemplateManager(($container->services['PhpList\\Core\\Domain\\Messaging\\Repository\\TemplateRepository'] ?? $container->load('getTemplateRepositoryService')), ($container->privates['PhpList\\Core\\Domain\\Messaging\\Service\\Manager\\TemplateImageManager'] ?? $container->load('getTemplateImageManagerService')), new \PhpList\Core\Domain\Messaging\Validator\TemplateLinkValidator($a), new \PhpList\Core\Domain\Messaging\Validator\TemplateImageValidator(new \GuzzleHttp\Client(), $a), new \PhpList\Core\Domain\Messaging\Service\Mapper\DefaultTemplateMapper()), ($container->privates['PhpList\\RestBundle\\Common\\Service\\Provider\\PaginatedDataProvider'] ?? $container->load('getPaginatedDataProviderService')), ($container->services['doctrine.orm.default_entity_manager'] ?? self::getDoctrine_Orm_DefaultEntityManagerService($container)));

        $instance->setContainer(($container->privates['.service_locator.O2p6Lk7'] ?? $container->load('get_ServiceLocator_O2p6Lk7Service'))->withContext('PhpList\\RestBundle\\Messaging\\Controller\\TemplateController', $container));

        return $instance;
    }
}
