<?php

use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;

// This file has been auto-generated by the Symfony Dependency Injection Component for internal use.
// Returns the public 'pim_enrich.controller.rest.channel' shared service.

include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Channel/Bundle/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/Bundle/Doctrine/Remover/ChannelRemover.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 = ($this->services['pim_catalog.repository.channel'] ?? $this->getPimCatalog_Repository_ChannelService());

return $this->services['pim_enrich.controller.rest.channel'] = new \Akeneo\Channel\Bundle\Controller\InternalApi\ChannelController($a, ($this->privates['pim_internal_api_serializer'] ?? $this->load('getPimInternalApiSerializerService.php')), ($this->privates['pim_catalog.updater.channel'] ?? $this->load('getPimCatalog_Updater_ChannelService.php')), ($this->privates['pim_catalog.saver.channel'] ?? $this->load('getPimCatalog_Saver_ChannelService.php')), new \Akeneo\Channel\Bundle\Doctrine\Remover\ChannelRemover(($this->services['doctrine.orm.default_entity_manager'] ?? $this->getDoctrine_Orm_DefaultEntityManagerService()), ($this->services['event_dispatcher'] ?? $this->getEventDispatcherService()), $a, ($this->services['translator'] ?? $this->getTranslatorService()), 'Akeneo\\Channel\\Component\\Model\\Channel'), ($this->privates['pim_catalog.factory.channel'] ?? ($this->privates['pim_catalog.factory.channel'] = new \Akeneo\Tool\Component\StorageUtils\Factory\SimpleFactory('Akeneo\\Channel\\Component\\Model\\Channel'))), ($this->services['validator'] ?? $this->load('getValidatorService.php')));
