<?phpnamespace App\Entity;use Doctrine\ORM\Mapping as ORM;use DateTimeInterface;/** * @ORM\Entity() */class InfoLocale{ /** * @ORM\Id() * @ORM\GeneratedValue() * @ORM\Column(type="integer") */ private ?int $id = null; /** * @ORM\Column(type="string", length=255, nullable=true) */ private ?string $name = null; /** * @ORM\Column(type="string", length=255, nullable=true) */ private ?string $title = null; /** * @ORM\Column(type="text", nullable=true) */ private ?string $content = null; /** * @ORM\Column(type="datetime", nullable=true) */ private ?DateTimeInterface $publicationStart = null; /** * @ORM\Column(type="datetime", nullable=true) */ private ?DateTimeInterface $publicationEnd = null; public function __construct() { } public function getId(): ?int { return $this->id; } public function getName(): ?string { return $this->name; } public function setName(?string $name) : self { $this->name = $name; return $this; } public function getTitle(): ?string { return $this->title; } public function setTitle(?string $title) : self { $this->title = $title; return $this; } public function getContent(): ?string { return $this->content; } public function setContent(?string $content) : self { $this->content = $content; return $this; } public function getPublicationStart(): ?DateTimeInterface { return $this->publicationStart; } public function setPublicationStart(?DateTimeInterface $publicationStart) : self { $this->publicationStart = $publicationStart; return $this; } public function getPublicationEnd(): ?DateTimeInterface { return $this->publicationEnd; } public function setPublicationEnd(?DateTimeInterface $publicationEnd) : self { $this->publicationEnd = $publicationEnd; return $this; }}