src/Domain/Entity/Translation/ActivityTranslation.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Domain\Entity\Translation;
  3. use Locastic\ApiPlatformTranslationBundle\Model\AbstractTranslation;
  4. /**
  5.  * Class ActivityTranslation
  6.  * @package App\Domain\Entity\Translation
  7.  */
  8. class ActivityTranslation extends AbstractTranslation
  9. {
  10.     public ?int $id;
  11.     private ?string $description null;
  12.     private ?string $title null;
  13.     /**
  14.      * @return string|null
  15.      */
  16.     public function getTitle(): ?string
  17.     {
  18.         return $this->title;
  19.     }
  20.     /**
  21.      * @param string|null $text
  22.      */
  23.     public function setTitle(?string $text): void
  24.     {
  25.         $this->title $text;
  26.     }
  27.     /**
  28.      * @return string|null
  29.      */
  30.     public function getDescription(): ?string
  31.     {
  32.         return $this->description;
  33.     }
  34.     /**
  35.      * @param string|null $text
  36.      */
  37.     public function setDescription(?string $text): void
  38.     {
  39.         $this->description $text;
  40.     }
  41. }