vendor/sylius/sylius/src/Sylius/Component/Core/Model/ProductTranslation.php line 18

Open in your IDE?
  1. <?php
  2. /*
  3.  * This file is part of the Sylius package.
  4.  *
  5.  * (c) Paweł Jędrzejewski
  6.  *
  7.  * For the full copyright and license information, please view the LICENSE
  8.  * file that was distributed with this source code.
  9.  */
  10. declare(strict_types=1);
  11. namespace Sylius\Component\Core\Model;
  12. use Sylius\Component\Product\Model\ProductTranslation as BaseProductTranslation;
  13. class ProductTranslation extends BaseProductTranslation implements ProductTranslationInterface
  14. {
  15.     /** @var string|null */
  16.     protected $shortDescription;
  17.     public function getShortDescription(): ?string
  18.     {
  19.         return $this->shortDescription;
  20.     }
  21.     public function setShortDescription(?string $shortDescription): void
  22.     {
  23.         $this->shortDescription $shortDescription;
  24.     }
  25. }