<?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.add_viewed_announcements' shared service.

include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Platform/Bundle/CommunicationChannelBundle/back/Infrastructure/Delivery/InternalApi/Announcement/AddViewedAnnouncementsAction.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Platform/Bundle/CommunicationChannelBundle/back/Application/Announcement/Command/AddViewedAnnouncementsByUserHandler.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Platform/Bundle/CommunicationChannelBundle/back/Domain/Announcement/Repository/ViewedAnnouncementRepositoryInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Platform/Bundle/CommunicationChannelBundle/back/Infrastructure/Persistence/Dbal/Repository/DbalViewedAnnouncementRepository.php';

return $this->services['akeneo_communication_channel.internal_api.announcement.add_viewed_announcements'] = new \Akeneo\Platform\Bundle\CommunicationChannelBundle\back\Infrastructure\Delivery\InternalApi\Announcement\AddViewedAnnouncementsAction(($this->services['pim_user.context.user'] ?? $this->getPimUser_Context_UserService()), new \Akeneo\Platform\Bundle\CommunicationChannelBundle\back\Application\Announcement\Command\AddViewedAnnouncementsByUserHandler(new \Akeneo\Platform\Bundle\CommunicationChannelBundle\back\Infrastructure\Persistence\Dbal\Repository\DbalViewedAnnouncementRepository(($this->services['doctrine.dbal.default_connection'] ?? $this->getDoctrine_Dbal_DefaultConnectionService()))));
