![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/magento/module-inventory-api/Model/ |
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ declare(strict_types=1); namespace Magento\InventoryApi\Model; use Magento\InventoryApi\Api\Data\SourceInterface; /** * It is extension point for carrier links storage replacing (Service Provider Interface - SPI) * Provide own implementation of this interface if you would like to replace storage * * @api */ interface SourceCarrierLinkManagementInterface { /** * Save carrier links by source * * Get carrier links from source object and save its. If carrier links are equal to null do nothing * * @param SourceInterface $source * @return void */ public function saveCarrierLinksBySource(SourceInterface $source): void; /** * Load carrier links by source and set its to source object * * @param SourceInterface $source * @return void */ public function loadCarrierLinksBySource(SourceInterface $source): void; }