GetDefaultSourceSelectionAlgorithmCode.php 496 B

123456789101112131415161718192021
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. declare(strict_types=1);
  7. namespace Magento\InventorySourceSelection\Model;
  8. use Magento\InventorySourceSelectionApi\Api\GetDefaultSourceSelectionAlgorithmCodeInterface;
  9. class GetDefaultSourceSelectionAlgorithmCode implements GetDefaultSourceSelectionAlgorithmCodeInterface
  10. {
  11. /**
  12. * @inheritdoc
  13. */
  14. public function execute(): string
  15. {
  16. return 'priority';
  17. }
  18. }