<?php

namespace ContainerEKZIeE8;

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 getSulu_Repository_RoleSettingService extends App_KernelProdContainer
{
    /*
     * Gets the public 'sulu.repository.role_setting' shared service.
     *
     * @return \Sulu\Bundle\SecurityBundle\Entity\RoleSettingRepository
     */
    public static function do($container, $lazyLoad = true)
    {
        if (true === $lazyLoad) {
            return $container->services['sulu.repository.role_setting'] = $container->createProxy('RoleSettingRepositoryGhostBd52ea5', static fn () => \RoleSettingRepositoryGhostBd52ea5::createLazyGhost(static fn ($proxy) => self::do($container, $proxy)));
        }

        $a = ($container->services['doctrine.orm.default_entity_manager'] ?? self::getDoctrine_Orm_DefaultEntityManagerService($container));

        return ($lazyLoad->__construct($a, $a->getClassMetadata('Sulu\\Bundle\\SecurityBundle\\Entity\\RoleSetting')) && false ?: $lazyLoad);
    }
}
