SalesChannelNameResolverInterface.php 497 B

1234567891011121314151617181920212223
  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\InventorySalesAdminUi\Model;
  8. /**
  9. * Resolve sales channel name by type and code
  10. */
  11. interface SalesChannelNameResolverInterface
  12. {
  13. /**
  14. * Resolve sales channel name by type and code
  15. *
  16. * @param string $type
  17. * @param string $code
  18. * @return string
  19. */
  20. public function resolve(string $type, string $code): string;
  21. }