SalesChannelNameResolverInterface.php 497 Bytes
<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
declare(strict_types=1);

namespace Magento\InventorySalesAdminUi\Model;

/**
 * Resolve sales channel name by type and code
 */
interface SalesChannelNameResolverInterface
{
    /**
     * Resolve sales channel name by type and code
     *
     * @param string $type
     * @param string $code
     * @return string
     */
    public function resolve(string $type, string $code): string;
}