<?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 getSuluSecurity_DoctrineAccessControlProviderService extends App_KernelProdContainer
{
    /*
     * Gets the private 'sulu_security.doctrine_access_control_provider' shared service.
     *
     * @return \Sulu\Component\Security\Authorization\AccessControl\DoctrineAccessControlProvider
     */
    public static function do($container, $lazyLoad = true)
    {
        $a = ($container->services['doctrine.orm.default_entity_manager'] ?? self::getDoctrine_Orm_DefaultEntityManagerService($container));

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

        return $container->privates['sulu_security.doctrine_access_control_provider'] = new \Sulu\Component\Security\Authorization\AccessControl\DoctrineAccessControlProvider($a, ($container->services['sulu.repository.role'] ?? self::getSulu_Repository_RoleService($container)), ($container->services['sulu.repository.access_control'] ?? self::getSulu_Repository_AccessControlService($container)), ($container->services['sulu_security.mask_converter'] ?? self::getSuluSecurity_MaskConverterService($container)));
    }
}
