<?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 getPimEnrich_Controller_Rest_ChannelService extends KernelProdContainer
{
    /*
     * Gets the public 'pim_enrich.controller.rest.channel' shared service.
     *
     * @return \Akeneo\Channel\Infrastructure\Controller\InternalApi\ChannelController
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Channel/back/Infrastructure/Controller/InternalApi/ChannelController.php';
        include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Component/StorageUtils/Remover/RemoverInterface.php';
        include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Channel/back/Infrastructure/Doctrine/Remover/ChannelRemover.php';
        include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Channel/back/Infrastructure/Component/Query/IsChannelUsedInProductExportJobInterface.php';
        include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Channel/back/Infrastructure/Query/Sql/IsChannelUsedInProductProductExportJob.php';
        include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Component/StorageUtils/Factory/SimpleFactoryInterface.php';
        include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Component/StorageUtils/Factory/SimpleFactory.php';

        $a = ($container->services['pim_catalog.repository.channel'] ?? $container->getPimCatalog_Repository_ChannelService());

        return $container->services['pim_enrich.controller.rest.channel'] = new \Akeneo\Channel\Infrastructure\Controller\InternalApi\ChannelController($a, ($container->privates['pim_internal_api_serializer'] ?? $container->load('getPimInternalApiSerializerService')), ($container->privates['pim_catalog.updater.channel'] ?? $container->load('getPimCatalog_Updater_ChannelService')), ($container->privates['pim_catalog.saver.channel'] ?? $container->load('getPimCatalog_Saver_ChannelService')), new \Akeneo\Channel\Infrastructure\Doctrine\Remover\ChannelRemover(($container->services['doctrine.orm.default_entity_manager'] ?? $container->getDoctrine_Orm_DefaultEntityManagerService()), ($container->services['event_dispatcher'] ?? $container->getEventDispatcherService()), $a, ($container->services['translator'] ?? $container->getTranslatorService()), new \Akeneo\Channel\Infrastructure\Query\Sql\IsChannelUsedInProductProductExportJob(($container->services['doctrine.dbal.default_connection'] ?? $container->getDoctrine_Dbal_DefaultConnectionService()), [0 => 'xlsx_product_export', 1 => 'xlsx_product_model_export', 2 => 'csv_product_export', 3 => 'csv_product_model_export', 4 => 'akeneo_shared_catalog', 5 => 'csv_published_product_export', 6 => 'xlsx_published_product_export']), 'Akeneo\\Channel\\Infrastructure\\Component\\Model\\Channel'), ($container->privates['pim_catalog.factory.channel'] ?? ($container->privates['pim_catalog.factory.channel'] = new \Akeneo\Tool\Component\StorageUtils\Factory\SimpleFactory('Akeneo\\Channel\\Infrastructure\\Component\\Model\\Channel'))), ($container->services['.container.private.validator'] ?? $container->load('get_Container_Private_ValidatorService')), ($container->privates['oro_security.security_facade'] ?? $container->getOroSecurity_SecurityFacadeService()), ($container->privates['akeneo.enrichment.public_api.find_category_trees'] ?? $container->load('getAkeneo_Enrichment_PublicApi_FindCategoryTreesService')));
    }
}
