vendor/shopware/core/Content/Cms/SalesChannel/Struct/TextStruct.php line 7

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace Shopware\Core\Content\Cms\SalesChannel\Struct;
  3. use Shopware\Core\Framework\Struct\Struct;
  4. class TextStruct extends Struct
  5. {
  6.     /**
  7.      * @var string|null
  8.      */
  9.     protected $content;
  10.     public function getContent(): ?string
  11.     {
  12.         return $this->content;
  13.     }
  14.     public function setContent(string $content): void
  15.     {
  16.         $this->content $content;
  17.     }
  18.     public function getApiAlias(): string
  19.     {
  20.         return 'cms_text';
  21.     }
  22. }