<?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 getValidPublicSubscriptionValidatorService extends PhpList_Core_Core_ApplicationKernelDevDebugContainer
{
    /**
     * Gets the private 'PhpList\RestBundle\Subscription\Validator\Constraint\ValidPublicSubscriptionValidator' shared autowired service.
     *
     * @return \PhpList\RestBundle\Subscription\Validator\Constraint\ValidPublicSubscriptionValidator
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 4).'/vendor/symfony/validator/ConstraintValidatorInterface.php';
        include_once \dirname(__DIR__, 4).'/vendor/symfony/validator/ConstraintValidator.php';
        include_once \dirname(__DIR__, 4).'/vendor/phplist/rest-api/src/Subscription/Validator/Constraint/ValidPublicSubscriptionValidator.php';
        include_once \dirname(__DIR__, 4).'/vendor/phplist/rest-api/src/Subscription/Service/PublicSubscriptionAttributeRuleProvider.php';

        return $container->privates['PhpList\\RestBundle\\Subscription\\Validator\\Constraint\\ValidPublicSubscriptionValidator'] = new \PhpList\RestBundle\Subscription\Validator\Constraint\ValidPublicSubscriptionValidator(new \PhpList\RestBundle\Subscription\Service\PublicSubscriptionAttributeRuleProvider(($container->services['PhpList\\Core\\Domain\\Subscription\\Repository\\SubscriberAttributeDefinitionRepository'] ?? self::getSubscriberAttributeDefinitionRepositoryService($container)), ($container->privates['PhpList\\Core\\Domain\\Subscription\\Service\\Manager\\SubscribePageManager'] ?? $container->load('getSubscribePageManagerService'))));
    }
}
