custom/plugins/AcrisShopSwitchCS/src/Components/Struct/ShopSwitchCheckedStruct.php line 7

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace Acris\ShopSwitch\Components\Struct;
  3. use Shopware\Core\Framework\Struct\Struct;
  4. class ShopSwitchCheckedStruct extends Struct
  5. {
  6.     /**
  7.      * @var string
  8.      */
  9.     private $domainId;
  10.     public function __construct(string $domainId)
  11.     {
  12.         $this->domainId $domainId;
  13.     }
  14.     /**
  15.      * @return string
  16.      */
  17.     public function getDomainId(): string
  18.     {
  19.         return $this->domainId;
  20.     }
  21.     /**
  22.      * @param string $domainId
  23.      */
  24.     public function setDomainId(string $domainId): void
  25.     {
  26.         $this->domainId $domainId;
  27.     }
  28. }