<?phpnamespace App\Entity;use App\Repository\HeaderRepository;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=HeaderRepository::class) */class Header{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="string", length=255) */ private $title; /** * @ORM\Column(type="text") */ private $content; /** * @ORM\Column(type="string", length=255) */ private $buttonTitle; /** * @ORM\Column(type="string", length=255) */ private $buttonLink; /** * @ORM\Column(type="string", length=255) */ private $illustration; 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 getContent(): ?string { return $this->content; } public function setContent(string $content): self { $this->content = $content; return $this; } public function getButtonTitle(): ?string { return $this->buttonTitle; } public function setButtonTitle(string $buttonTitle): self { $this->buttonTitle = $buttonTitle; return $this; } public function getButtonLink(): ?string { return $this->buttonLink; } public function setButtonLink(string $buttonLink): self { $this->buttonLink = $buttonLink; return $this; } public function getIllustration(): ?string { return $this->illustration; } public function setIllustration(string $illustration): self { $this->illustration = $illustration; return $this; }}