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

include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Pim/Enrichment/Bundle/Controller/InternalApi/ProductCommentController.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Component/StorageUtils/Saver/SaverInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Component/StorageUtils/Saver/BulkSaverInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Bundle/StorageUtilsBundle/Doctrine/Common/Saver/BaseSaver.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Pim/Enrichment/Component/Comment/Builder/CommentBuilder.php';

return $this->services['pim_enrich.controller.rest.product_comment'] = new \Akeneo\Pim\Enrichment\Bundle\Controller\InternalApi\ProductCommentController(($this->services['security.token_storage'] ?? $this->getSecurity_TokenStorageService()), ($this->services['form.factory'] ?? $this->load('getForm_FactoryService.php')), ($this->privates['pim_catalog.repository.product'] ?? $this->load('getPimCatalog_Repository_ProductService.php')), ($this->privates['pim_comment.repository.comment'] ?? $this->load('getPimComment_Repository_CommentService.php')), new \Akeneo\Tool\Bundle\StorageUtilsBundle\Doctrine\Common\Saver\BaseSaver(($this->services['doctrine.orm.default_entity_manager'] ?? $this->getDoctrine_Orm_DefaultEntityManagerService()), ($this->services['event_dispatcher'] ?? $this->getEventDispatcherService()), 'Akeneo\\Pim\\Enrichment\\Component\\Comment\\Model\\Comment'), new \Akeneo\Pim\Enrichment\Component\Comment\Builder\CommentBuilder('Akeneo\\Pim\\Enrichment\\Component\\Comment\\Model\\Comment'), ($this->privates['pim_standard_format_serializer'] ?? $this->load('getPimStandardFormatSerializerService.php')), ($this->services['validator'] ?? $this->load('getValidatorService.php')), ($this->privates['pim_catalog.localization.presenter.datetime'] ?? $this->load('getPimCatalog_Localization_Presenter_DatetimeService.php')), ($this->privates['pim_enrich.resolver.locale'] ?? $this->load('getPimEnrich_Resolver_LocaleService.php')));
