Files
2026-09-15 10:26:34 +08:00

64 lines
5.3 KiB
XML

<?xml version="1.0" ?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<type name="Magento\Framework\Console\CommandList">
<arguments>
<argument name="commands" xsi:type="array">
<item name="ImportSearchWordValue" xsi:type="object">Stemcell\Catalog\Console\Command\ImportSearchWordValue</item>
<item name="ProductSimpleExport" xsi:type="object">Stemcell\Catalog\Console\Command\ProductSimpleExport</item>
<item name="CellSortImport" xsi:type="object">Stemcell\Catalog\Console\Command\CellSortImport</item>
<item name="SampleCryopreserveImport" xsi:type="object">Stemcell\Catalog\Console\Command\SampleCryopreserveImport</item>
<item name="ExperimentalSchemeImport" xsi:type="object">Stemcell\Catalog\Console\Command\ExperimentalSchemeImport</item>
<item name="ProductManualSearchImport" xsi:type="object">Stemcell\Catalog\Console\Command\ProductManualSearchImport</item>
<item name="ParentSkuNameImport" xsi:type="object">Stemcell\Catalog\Console\Command\ParentSkuNameImport</item>
<item name="ProtocolsDocumentationPdfUpdate" xsi:type="object">Stemcell\Catalog\Console\Command\ProtocolsDocumentationPdfUpdate</item>
<item name="ProtocolsDocumentationRepair" xsi:type="object">Stemcell\Catalog\Console\Command\ProtocolsDocumentationRepair</item>
<item name="ImportSearchTagsValue" xsi:type="object">Stemcell\Catalog\Console\Command\ImportSearchTagsValue</item>
<item name="ImportSearchTermsValue" xsi:type="object">Stemcell\Catalog\Console\Command\ImportSearchTermsValue</item>
<item name="test" xsi:type="object">Stemcell\Catalog\Console\Command\Test</item>
</argument>
</arguments>
</type>
<preference for="Stemcell\Catalog\Api\SpeciesRepositoryInterface" type="Stemcell\Catalog\Model\SpeciesRepository"/>
<preference for="Stemcell\Catalog\Api\Data\SpeciesInterface" type="Stemcell\Catalog\Model\Species"/>
<preference for="Stemcell\Catalog\Api\Data\SpeciesSearchResultsInterface" type="Magento\Framework\Api\SearchResults"/>
<preference for="Stemcell\Catalog\Api\CellTypeRepositoryInterface" type="Stemcell\Catalog\Model\CellTypeRepository"/>
<preference for="Stemcell\Catalog\Api\Data\CellTypeInterface" type="Stemcell\Catalog\Model\CellType"/>
<preference for="Stemcell\Catalog\Api\Data\CellTypeSearchResultsInterface" type="Magento\Framework\Api\SearchResults"/>
<preference for="Stemcell\Catalog\Api\TissueRepositoryInterface" type="Stemcell\Catalog\Model\TissueRepository"/>
<preference for="Stemcell\Catalog\Api\Data\TissueInterface" type="Stemcell\Catalog\Model\Tissue"/>
<preference for="Stemcell\Catalog\Api\Data\TissueSearchResultsInterface" type="Magento\Framework\Api\SearchResults"/>
<preference for="Stemcell\Catalog\Api\CellSortRepositoryInterface" type="Stemcell\Catalog\Model\CellSortRepository"/>
<preference for="Stemcell\Catalog\Api\Data\CellSortInterface" type="Stemcell\Catalog\Model\CellSort"/>
<preference for="Stemcell\Catalog\Api\Data\CellSortSearchResultsInterface" type="Stemcell\Catalog\Model\Api\Data\CellSortSearchResults"/>
<preference for="Stemcell\Catalog\Api\CryopreserveRepositoryInterface" type="Stemcell\Catalog\Model\CryopreserveRepository"/>
<preference for="Stemcell\Catalog\Api\Data\CryopreserveInterface" type="Stemcell\Catalog\Model\Cryopreserve"/>
<preference for="Stemcell\Catalog\Api\Data\CryopreserveSearchResultsInterface" type="Magento\Framework\Api\SearchResults"/>
<preference for="Stemcell\Catalog\Api\ExperimentalSchemeRepositoryInterface" type="Stemcell\Catalog\Model\ExperimentalSchemeRepository"/>
<preference for="Stemcell\Catalog\Api\Data\ExperimentalSchemeInterface" type="Stemcell\Catalog\Model\ExperimentalScheme"/>
<preference for="Stemcell\Catalog\Api\Data\ExperimentalSchemeSearchResultsInterface" type="Magento\Framework\Api\SearchResults"/>
<preference for="Stemcell\Catalog\Api\ProductManualSearchRepositoryInterface" type="Stemcell\Catalog\Model\ProductManualSearchRepository"/>
<preference for="Stemcell\Catalog\Api\Data\ProductManualSearchInterface" type="Stemcell\Catalog\Model\ProductManualSearch"/>
<preference for="Stemcell\Catalog\Api\Data\ProductManualSearchSearchResultsInterface" type="Magento\Framework\Api\SearchResults"/>
<type name="Amasty\ElasticSearch\Model\Search\GetRequestQuery">
<plugin name="stemcell_category_option_self_excluding_aggregation_request"
type="Stemcell\Catalog\Plugin\Amasty\ElasticSearch\AddCategoryOptionSelfExcludingAggregation"/>
</type>
<type name="Amasty\ElasticSearch\Model\Search\GetResponse\GetAggregations">
<plugin name="stemcell_category_option_self_excluding_aggregation_response"
type="Stemcell\Catalog\Plugin\Amasty\ElasticSearch\UseCategoryOptionSelfExcludingAggregation"/>
</type>
<preference for="Magento\Catalog\Model\Product\Gallery\Processor" type="Stemcell\Catalog\Model\Product\Gallery\Processor" />
<preference for="Magento\Theme\Block\Html\Topmenu" type="Stemcell\Catalog\Block\Theme\Html\Topmenu" />
<preference for="Magento\Catalog\Helper\Product\View" type="Stemcell\Catalog\Helper\Product\View"/>
<preference for="Magento\Catalog\Pricing\Render\FinalPriceBox" type="Stemcell\Catalog\Block\Pricing\Render\FinalPriceBox"/>
</config>