<?php

namespace ContainerOQlxh73;

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

/*
 * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
 */
class getCategoriesShouldBeViewableValidatorService extends KernelProdContainer
{
    /*
     * Gets the private 'Akeneo\Pim\Enrichment\Product\Infrastructure\Validation\CategoriesShouldBeViewableValidator' shared service.
     *
     * @return \Akeneo\Pim\Enrichment\Product\Infrastructure\Validation\CategoriesShouldBeViewableValidator
     */
    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/akeneo/pim-community-dev/src/Akeneo/Pim/Enrichment/Product/back/Infrastructure/Validation/CategoriesShouldBeViewableValidator.php';

        $a = ($container->privates['Akeneo\\Pim\\Enrichment\\Category\\API\\Query\\GetViewableCategories'] ?? $container->load('getGetViewableCategoriesService'));

        if (isset($container->privates['Akeneo\\Pim\\Enrichment\\Product\\Infrastructure\\Validation\\CategoriesShouldBeViewableValidator'])) {
            return $container->privates['Akeneo\\Pim\\Enrichment\\Product\\Infrastructure\\Validation\\CategoriesShouldBeViewableValidator'];
        }

        return $container->privates['Akeneo\\Pim\\Enrichment\\Product\\Infrastructure\\Validation\\CategoriesShouldBeViewableValidator'] = new \Akeneo\Pim\Enrichment\Product\Infrastructure\Validation\CategoriesShouldBeViewableValidator($a);
    }
}
