<?php

namespace ContainerH4AHLTQ;

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 getListClientsCommandService extends KernelProdContainer
{
    /*
     * Gets the private 'Akeneo\Tool\Bundle\ApiBundle\Command\ListClientsCommand' shared service.
     *
     * @return \Akeneo\Tool\Bundle\ApiBundle\Command\ListClientsCommand
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 4).'/vendor/symfony/console/Command/Command.php';
        include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Bundle/ApiBundle/Command/ListClientsCommand.php';
        include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Bundle/ApiBundle/Doctrine/ORM/Repository/ClientRepository.php';

        $container->privates['Akeneo\\Tool\\Bundle\\ApiBundle\\Command\\ListClientsCommand'] = $instance = new \Akeneo\Tool\Bundle\ApiBundle\Command\ListClientsCommand(new \Akeneo\Tool\Bundle\ApiBundle\Doctrine\ORM\Repository\ClientRepository(($container->privates['fos_oauth_server.entity_manager'] ?? $container->load('getFosOauthServer_EntityManagerService')), 'Akeneo\\Tool\\Bundle\\ApiBundle\\Entity\\Client'));

        $instance->setName('pim:oauth-server:list-clients');
        $instance->setDescription('Lists all existing pairs of client id / secret for the web API');

        return $instance;
    }
}
