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

Open in your IDE?
  1. <?php
  2. namespace App\Domain\Entity\Translation;
  3. use Locastic\ApiPlatformTranslationBundle\Model\AbstractTranslation;
  4. /**
  5.  * Class CommentTranslation
  6.  * @package App\Domain\Entity\Translation
  7.  */
  8. class CommentTranslation extends AbstractTranslation
  9. {
  10.     public ?int $id;
  11.     private ?string $value null;
  12.     /**
  13.      * @return string|null
  14.      */
  15.     public function getValue(): ?string
  16.     {
  17.         return $this->value;
  18.     }
  19.     /**
  20.      * @param string|null $text
  21.      */
  22.     public function setValue(?string $text): void
  23.     {
  24.         $this->value $text;
  25.     }
  26. }