<?phpnamespace App\Entity;use App\Repository\ApplicationTranslationRepository;use Doctrine\ORM\Mapping as ORM;use Gedmo\Mapping\Annotation as Gedmo;use Knp\DoctrineBehaviors\Contract\Entity\TranslationInterface;use Knp\DoctrineBehaviors\Model\Translatable\TranslationTrait;/** * @ORM\Entity(repositoryClass=ApplicationTranslationRepository::class) */class ApplicationTranslation implements TranslationInterface{ use TranslationTrait; /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $title; /** * @ORM\Column(type="text", nullable=true) */ private $intro; /** * @Gedmo\Slug(fields={"title"}) * @ORM\Column(type="string", length=255, nullable=true) */ private $slug; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $metaTitle; /** * @ORM\Column(type="text", nullable=true) */ private $metaDescription; public function getId(): ?int { return $this->id; } public function getTitle(): ?string { return $this->title; } public function setTitle(?string $title): self { $this->title = $title; return $this; } public function getIntro(): ?string { return $this->intro; } public function setIntro(?string $intro): self { $this->intro = $intro; return $this; } public function getSlug(): ?string { return $this->slug; } public function setSlug(?string $slug): self { $this->slug = $slug; return $this; } public function getMetaTitle(): ?string { return $this->metaTitle; } public function setMetaTitle(?string $metaTitle): self { $this->metaTitle = $metaTitle; return $this; } public function getMetaDescription(): ?string { return $this->metaDescription; } public function setMetaDescription(?string $metaDescription): self { $this->metaDescription = $metaDescription; return $this; }}