<?php

namespace ContainerYHymreF;

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 getSecurity_Access_ClosureVoterService extends App_KernelProdContainer
{
    /*
     * Gets the private 'security.access.closure_voter' shared service.
     *
     * @return \Symfony\Component\Security\Core\Authorization\Voter\ClosureVoter
     */
    public static function do($container, $lazyLoad = true)
    {
        $a = ($container->services['jms_serializer.authorization_checker'] ?? self::getJmsSerializer_AuthorizationCheckerService($container));

        if (isset($container->privates['security.access.closure_voter'])) {
            return $container->privates['security.access.closure_voter'];
        }

        return $container->privates['security.access.closure_voter'] = new \Symfony\Component\Security\Core\Authorization\Voter\ClosureVoter($a);
    }
}
