<?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 'akeneo_communication_channel.internal_api.announcement.list' shared service.

include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Platform/Bundle/CommunicationChannelBundle/back/Infrastructure/Delivery/InternalApi/Announcement/ListAnnouncementsAction.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Platform/Bundle/CommunicationChannelBundle/back/Application/Announcement/Query/ListAnnouncementsHandler.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Platform/Bundle/CommunicationChannelBundle/back/Domain/Announcement/Query/FindAnnouncementItemsInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Platform/Bundle/CommunicationChannelBundle/back/Infrastructure/CommunicationChannel/Api/ApiFindAnnouncementItems.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Platform/VersionProviderInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Platform/VersionProvider.php';

return $this->services['akeneo_communication_channel.internal_api.announcement.list'] = new \Akeneo\Platform\Bundle\CommunicationChannelBundle\back\Infrastructure\Delivery\InternalApi\Announcement\ListAnnouncementsAction(($this->privates['pim_catalog.version_provider'] ?? ($this->privates['pim_catalog.version_provider'] = new \Akeneo\Platform\VersionProvider('Akeneo\\Platform\\CommunityVersion'))), ($this->services['pim_user.context.user'] ?? $this->getPimUser_Context_UserService()), new \Akeneo\Platform\Bundle\CommunicationChannelBundle\back\Application\Announcement\Query\ListAnnouncementsHandler(new \Akeneo\Platform\Bundle\CommunicationChannelBundle\back\Infrastructure\CommunicationChannel\Api\ApiFindAnnouncementItems('https://pim-comm-panel.akeneo.com'), ($this->privates['akeneo_communication_channel.query.dbal.find_viewed_announcement_ids'] ?? $this->load('getAkeneoCommunicationChannel_Query_Dbal_FindViewedAnnouncementIdsService.php'))));
