vendor/shopware/core/Framework/Api/Context/SalesChannelApiSource.php line 5

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace Shopware\Core\Framework\Api\Context;
  3. class SalesChannelApiSource implements ContextSource
  4. {
  5.     /**
  6.      * @var string
  7.      */
  8.     private $salesChannelId;
  9.     public function __construct(string $salesChannelId)
  10.     {
  11.         $this->salesChannelId $salesChannelId;
  12.     }
  13.     public function getSalesChannelId(): string
  14.     {
  15.         return $this->salesChannelId;
  16.     }
  17. }