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

include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Pim/Structure/Bundle/Controller/InternalApi/FamilyController.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/FamilySearchableRepository.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/Pim/Structure/Component/Remover/FamilyRemover.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Pim/Enrichment/Component/Product/ProductAndProductModel/Query/CountProductsWithFamilyInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Pim/Enrichment/Bundle/Storage/Sql/Family/CountProductsWithFamily.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/serializer/Normalizer/NormalizerInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/serializer/Normalizer/CacheableSupportsMethodInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Pim/Enrichment/Component/Product/Normalizer/InternalApi/ViolationNormalizer.php';

$a = ($this->services['doctrine.orm.default_entity_manager'] ?? $this->getDoctrine_Orm_DefaultEntityManagerService());

return $this->services['pim_enrich.controller.rest.family'] = new \Akeneo\Pim\Structure\Bundle\Controller\InternalApi\FamilyController(($this->privates['pim_catalog.repository.family'] ?? $this->load('getPimCatalog_Repository_FamilyService.php')), ($this->privates['pim_internal_api_serializer'] ?? $this->load('getPimInternalApiSerializerService.php')), new \Akeneo\Pim\Structure\Bundle\Doctrine\ORM\Repository\InternalApi\FamilySearchableRepository($a, 'Akeneo\\Pim\\Structure\\Component\\Model\\Family'), ($this->privates['pim_catalog.updater.family'] ?? $this->load('getPimCatalog_Updater_FamilyService.php')), ($this->privates['pim_catalog.saver.family'] ?? $this->load('getPimCatalog_Saver_FamilyService.php')), new \Akeneo\Pim\Structure\Component\Remover\FamilyRemover($a, ($this->services['event_dispatcher'] ?? $this->getEventDispatcherService()), new \Akeneo\Pim\Enrichment\Bundle\Storage\Sql\Family\CountProductsWithFamily(($this->services['doctrine.dbal.default_connection'] ?? $this->getDoctrine_Dbal_DefaultConnectionService()))), ($this->services['validator'] ?? $this->load('getValidatorService.php')), ($this->privates['oro_security.security_facade'] ?? $this->getOroSecurity_SecurityFacadeService()), ($this->privates['pim_catalog.factory.family'] ?? $this->load('getPimCatalog_Factory_FamilyService.php')), ($this->privates['pim_enrich.normalizer.violation'] ?? ($this->privates['pim_enrich.normalizer.violation'] = new \Akeneo\Pim\Enrichment\Component\Product\Normalizer\InternalApi\ViolationNormalizer())));
