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

include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Pim/Structure/Bundle/Controller/InternalApi/AttributeGroupController.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Component/StorageUtils/Repository/SearchableRepositoryInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Pim/Structure/Bundle/Doctrine/ORM/Repository/InternalApi/AttributeGroupSearchableRepository.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/Tool/Component/StorageUtils/Remover/BulkRemoverInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Bundle/StorageUtilsBundle/Doctrine/Common/Remover/BaseRemover.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Pim/Structure/Bundle/Query/InternalApi/AttributeGroup/Sql/FindAttributeCodesForAttributeGroup.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['doctrine.orm.default_entity_manager'] ?? $this->getDoctrine_Orm_DefaultEntityManagerService());
$b = ($this->privates['pim_catalog.filter.chained'] ?? $this->load('getPimCatalog_Filter_ChainedService.php'));
$c = ($this->services['event_dispatcher'] ?? $this->getEventDispatcherService());

return $this->services['pim_enrich.controller.rest.attribute_group'] = new \Akeneo\Pim\Structure\Bundle\Controller\InternalApi\AttributeGroupController(($this->privates['pim_catalog.repository.attribute_group'] ?? $this->load('getPimCatalog_Repository_AttributeGroupService.php')), new \Akeneo\Pim\Structure\Bundle\Doctrine\ORM\Repository\InternalApi\AttributeGroupSearchableRepository($a, 'Akeneo\\Pim\\Structure\\Component\\Model\\AttributeGroup'), ($this->privates['pim_internal_api_serializer'] ?? $this->load('getPimInternalApiSerializerService.php')), $b, ($this->privates['pim_catalog.updater.attribute_group'] ?? $this->load('getPimCatalog_Updater_AttributeGroupService.php')), ($this->services['validator'] ?? $this->load('getValidatorService.php')), ($this->privates['pim_catalog.saver.attribute_group'] ?? $this->load('getPimCatalog_Saver_AttributeGroupService.php')), new \Akeneo\Tool\Bundle\StorageUtilsBundle\Doctrine\Common\Remover\BaseRemover($a, $c, 'Akeneo\\Pim\\Structure\\Component\\Model\\AttributeGroup'), ($this->privates['pim_catalog.repository.attribute'] ?? $this->load('getPimCatalog_Repository_AttributeService.php')), ($this->privates['pim_catalog.updater.attribute'] ?? $this->load('getPimCatalog_Updater_AttributeService.php')), ($this->privates['pim_catalog.saver.attribute'] ?? $this->load('getPimCatalog_Saver_AttributeService.php')), ($this->privates['oro_security.security_facade'] ?? $this->getOroSecurity_SecurityFacadeService()), ($this->privates['pim_catalog.factory.attribute_group'] ?? ($this->privates['pim_catalog.factory.attribute_group'] = new \Akeneo\Tool\Component\StorageUtils\Factory\SimpleFactory('Akeneo\\Pim\\Structure\\Component\\Model\\AttributeGroup'))), $c, $b, new \Akeneo\Pim\Structure\Bundle\Query\InternalApi\AttributeGroup\Sql\FindAttributeCodesForAttributeGroup(($this->services['doctrine.dbal.default_connection'] ?? $this->getDoctrine_Dbal_DefaultConnectionService())));
