<?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 getApiPlatform_ValidatorService extends App_KernelProdContainer
{
    /*
     * Gets the private 'api_platform.validator' shared service.
     *
     * @return \ApiPlatform\Symfony\Validator\Validator
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 5).'/www/html/vendor/api-platform/core/src/Validator/ValidatorInterface.php';
        include_once \dirname(__DIR__, 5).'/www/html/vendor/api-platform/core/src/Symfony/Validator/Validator.php';

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

        if (isset($container->privates['api_platform.validator'])) {
            return $container->privates['api_platform.validator'];
        }

        $instance = new \ApiPlatform\Symfony\Validator\Validator($a, ($container->privates['api_platform.graphql.mutation_resolver_locator'] ??= new \Symfony\Component\DependencyInjection\Argument\ServiceLocator($container->getService ??= $container->getService(...), [], [])), true);

        if (isset($container->privates['api_platform.validator'])) {
            return $container->privates['api_platform.validator'];
        }

        return $container->privates['api_platform.validator'] = $instance;
    }
}
