<?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 private 'pim_catalog.query.sorter.registry' shared service.

include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Pim/Enrichment/Component/Product/Query/Sorter/SorterRegistryInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Pim/Enrichment/Component/Product/Query/Sorter/SorterRegistry.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Pim/Enrichment/Component/Product/Query/Sorter/SorterInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Pim/Enrichment/Component/Product/Query/Sorter/FieldSorterInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Pim/Enrichment/Bundle/Elasticsearch/Sorter/Field/BaseFieldSorter.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Pim/Enrichment/Bundle/Elasticsearch/Sorter/Field/FamilySorter.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Pim/Enrichment/Component/Product/Query/Sorter/AttributeSorterInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Pim/Enrichment/Bundle/Elasticsearch/Sorter/IdentifierSorter.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Pim/Enrichment/Bundle/Elasticsearch/Sorter/Field/CompletenessSorter.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Pim/Enrichment/Bundle/Elasticsearch/Sorter/Attribute/AbstractAttributeSorter.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Pim/Enrichment/Bundle/Elasticsearch/Sorter/Attribute/MetricSorter.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Pim/Enrichment/Bundle/Elasticsearch/Sorter/Attribute/BaseAttributeSorter.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Pim/Enrichment/Bundle/Elasticsearch/Sorter/Attribute/TextAreaSorter.php';
include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Pim/Enrichment/Bundle/Elasticsearch/Sorter/InGroupSorter.php';

$this->privates['pim_catalog.query.sorter.registry'] = $instance = new \Akeneo\Pim\Enrichment\Component\Product\Query\Sorter\SorterRegistry();

$a = ($this->privates['pim_catalog.validator.helper.attribute'] ?? $this->load('getPimCatalog_Validator_Helper_AttributeService.php'));

$instance->register(new \Akeneo\Pim\Enrichment\Bundle\Elasticsearch\Sorter\Field\BaseFieldSorter([0 => 'updated', 1 => 'created']));
$instance->register(new \Akeneo\Pim\Enrichment\Bundle\Elasticsearch\Sorter\Field\FamilySorter(($this->privates['pim_catalog.repository.locale'] ?? $this->getPimCatalog_Repository_LocaleService()), [0 => 'family']));
$instance->register(new \Akeneo\Pim\Enrichment\Bundle\Elasticsearch\Sorter\IdentifierSorter([0 => 'identifier'], [0 => 'pim_catalog_identifier']));
$instance->register(new \Akeneo\Pim\Enrichment\Bundle\Elasticsearch\Sorter\Field\CompletenessSorter([0 => 'completeness']));
$instance->register(new \Akeneo\Pim\Enrichment\Bundle\Elasticsearch\Sorter\Field\BaseFieldSorter([0 => 'enabled']));
$instance->register(new \Akeneo\Pim\Enrichment\Bundle\Elasticsearch\Sorter\Field\BaseFieldSorter([0 => 'id']));
$instance->register(new \Akeneo\Pim\Enrichment\Bundle\Elasticsearch\Sorter\Attribute\MetricSorter($a, [0 => 'pim_catalog_metric']));
$instance->register(new \Akeneo\Pim\Enrichment\Bundle\Elasticsearch\Sorter\Attribute\BaseAttributeSorter($a, [0 => 'pim_catalog_boolean']));
$instance->register(new \Akeneo\Pim\Enrichment\Bundle\Elasticsearch\Sorter\Attribute\BaseAttributeSorter($a, [0 => 'pim_catalog_text']));
$instance->register(new \Akeneo\Pim\Enrichment\Bundle\Elasticsearch\Sorter\Attribute\TextAreaSorter($a, [0 => 'pim_catalog_textarea']));
$instance->register(new \Akeneo\Pim\Enrichment\Bundle\Elasticsearch\Sorter\Attribute\BaseAttributeSorter($a, [0 => 'pim_catalog_number']));
$instance->register(new \Akeneo\Pim\Enrichment\Bundle\Elasticsearch\Sorter\Attribute\BaseAttributeSorter($a, [0 => 'pim_catalog_simpleselect']));
$instance->register(new \Akeneo\Pim\Enrichment\Bundle\Elasticsearch\Sorter\Attribute\BaseAttributeSorter($a, [0 => 'pim_catalog_date']));
$instance->register(new \Akeneo\Pim\Enrichment\Bundle\Elasticsearch\Sorter\Attribute\BaseAttributeSorter($a, [0 => 'pim_reference_data_simpleselect']));
$instance->register(new \Akeneo\Pim\Enrichment\Bundle\Elasticsearch\Sorter\InGroupSorter(($this->privates['pim_catalog.repository.group'] ?? $this->load('getPimCatalog_Repository_GroupService.php'))));

return $instance;
