custom/plugins/MoorlFoundation/src/Core/Content/Cms/SalesChannel/Struct/LocationStruct.php line 14

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace MoorlFoundation\Core\Content\Cms\SalesChannel\Struct;
  3. use MoorlFoundation\Core\Framework\DataAbstractionLayer\EntityLocationTrait;
  4. use Shopware\Core\Framework\Struct\Struct;
  5. class LocationStruct extends Struct
  6. {
  7.     use EntityLocationTrait;
  8.     public function __set($name$value): void
  9.     {
  10.         $this->$name $value;
  11.     }
  12.     public function getApiAlias(): string
  13.     {
  14.         return 'cms_moorl_location';
  15.     }
  16. }