<?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 getPublicSubscribeControllerService extends PhpList_Core_Core_ApplicationKernelDevDebugContainer
{
    /**
     * Gets the public 'PhpList\WebFrontend\Controller\PublicSubscribeController' shared autowired service.
     *
     * @return \PhpList\WebFrontend\Controller\PublicSubscribeController
     */
    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/web-frontend/src/Controller/BaseController.php';
        include_once \dirname(__DIR__, 4).'/vendor/phplist/web-frontend/src/Controller/PublicSubscribeController.php';
        include_once \dirname(__DIR__, 4).'/vendor/tatevikgr/rest-api-client/src/Endpoint/SubscribePagesClient.php';
        include_once \dirname(__DIR__, 4).'/vendor/phplist/web-frontend/src/Service/LanguageService.php';
        include_once \dirname(__DIR__, 4).'/vendor/phplist/web-frontend/src/Service/PublicSubscribeFormBuilder.php';
        include_once \dirname(__DIR__, 4).'/vendor/phplist/web-frontend/src/Service/FormDataMapper.php';
        include_once \dirname(__DIR__, 4).'/vendor/phplist/web-frontend/src/Service/PublicSubscribeFormValidator.php';
        include_once \dirname(__DIR__, 4).'/vendor/phplist/web-frontend/src/Service/ListSelectionService.php';
        include_once \dirname(__DIR__, 4).'/vendor/phplist/web-frontend/src/Service/AttributeValidator.php';

        $a = new \PhpList\WebFrontend\Service\FormDataMapper();

        $container->services['PhpList\\WebFrontend\\Controller\\PublicSubscribeController'] = $instance = new \PhpList\WebFrontend\Controller\PublicSubscribeController(new \PhpList\RestApiClient\Endpoint\SubscribePagesClient(($container->privates['PhpList\\RestApiClient\\Client'] ?? self::getClientService($container))), ($container->privates['PhpList\\RestApiClient\\Endpoint\\AuthClient'] ?? $container->load('getAuthClientService')), new \PhpList\WebFrontend\Service\LanguageService(), new \PhpList\WebFrontend\Service\PublicSubscribeFormBuilder($a), new \PhpList\WebFrontend\Service\PublicSubscribeFormValidator(new \PhpList\WebFrontend\Service\ListSelectionService($a), new \PhpList\WebFrontend\Service\AttributeValidator()), ($container->privates['PhpList\\Core\\Domain\\Configuration\\Service\\Provider\\DefaultConfigProvider'] ?? $container->load('getDefaultConfigProviderService')), $container->getEnv('SHOW_UNSUBSCRIBELINK'));

        $instance->setContainer(($container->privates['.service_locator.RzZ2aia'] ?? $container->load('get_ServiceLocator_RzZ2aiaService'))->withContext('PhpList\\WebFrontend\\Controller\\PublicSubscribeController', $container));

        return $instance;
    }
}
