<?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 getListUserRoleInterfaceService extends KernelProdContainer
{
    /*
     * Gets the public 'Akeneo\UserManagement\ServiceApi\UserRole\ListUserRoleInterface' shared service.
     *
     * @return \Akeneo\UserManagement\Application\Handler\ListUserRoleHandler
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/UserManagement/back/ServiceApi/UserRole/ListUserRoleInterface.php';
        include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/UserManagement/back/Application/Handler/ListUserRoleHandler.php';
        include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/UserManagement/back/Domain/Storage/FindAllUserRoles.php';
        include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/UserManagement/back/Infrastructure/Storage/SqlFindAllUserRoles.php';

        $a = ($container->services['doctrine.dbal.default_connection'] ?? $container->getDoctrine_Dbal_DefaultConnectionService());

        if (isset($container->services['Akeneo\\UserManagement\\ServiceApi\\UserRole\\ListUserRoleInterface'])) {
            return $container->services['Akeneo\\UserManagement\\ServiceApi\\UserRole\\ListUserRoleInterface'];
        }

        return $container->services['Akeneo\\UserManagement\\ServiceApi\\UserRole\\ListUserRoleInterface'] = new \Akeneo\UserManagement\Application\Handler\ListUserRoleHandler(new \Akeneo\UserManagement\Infrastructure\Storage\SqlFindAllUserRoles($a));
    }
}
