src/Domain/Entity/Translation/DirectoryCountryTranslation.php line 9

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