<?php
namespace App\Entity;
use App\Repository\ImagesAccueilRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=ImagesAccueilRepository::class)
*/
class ImagesAccueil
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $imageRealisations;
/**
* @ORM\Column(type="string", length=500, nullable=true)
*/
private $texteRealisations;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $imageBlogs;
/**
* @ORM\Column(type="string", length=500, nullable=true)
*/
private $texteBlogs;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $imageActualites;
/**
* @ORM\Column(type="string", length=500, nullable=true)
*/
private $texteActualites;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $imageContact;
/**
* @ORM\Column(type="string", length=500, nullable=true)
*/
private $texteContact;
/**
* @ORM\Column(type="string", length=255)
*/
private $tarifsTitre;
/**
* @ORM\Column(type="text", length=1000, nullable=true)
*/
private $tarifsDescription;
/**
* @ORM\Column(type="string", length=255)
*/
private $texteService;
/**
* @ORM\Column(type="string", length=255)
*/
private $ImageService;
public function getId(): ?int
{
return $this->id;
}
public function getImageRealisations(): ?string
{
return $this->imageRealisations;
}
public function setImageRealisations(?string $imageRealisations): self
{
$this->imageRealisations = $imageRealisations;
return $this;
}
public function getTexteRealisations(): ?string
{
return $this->texteRealisations;
}
public function setTexteRealisations(?string $texteRealisations): self
{
$this->texteRealisations = $texteRealisations;
return $this;
}
public function getImageBlogs(): ?string
{
return $this->imageBlogs;
}
public function setImageBlogs(?string $imageBlogs): self
{
$this->imageBlogs = $imageBlogs;
return $this;
}
public function getTexteBlogs(): ?string
{
return $this->texteBlogs;
}
public function setTexteBlogs(?string $texteBlogs): self
{
$this->texteBlogs = $texteBlogs;
return $this;
}
public function getImageActualites(): ?string
{
return $this->imageActualites;
}
public function setImageActualites(?string $imageActualites): self
{
$this->imageActualites = $imageActualites;
return $this;
}
public function getTexteActualites(): ?string
{
return $this->texteActualites;
}
public function setTexteActualites(?string $texteActualites): self
{
$this->texteActualites = $texteActualites;
return $this;
}
public function getImageContact(): ?string
{
return $this->imageContact;
}
public function setImageContact(?string $imageContact): self
{
$this->imageContact = $imageContact;
return $this;
}
public function getTexteContact(): ?string
{
return $this->texteContact;
}
public function setTexteContact(?string $texteContact): self
{
$this->texteContact = $texteContact;
return $this;
}
public function getTarifsTitre(): ?string
{
return $this->tarifsTitre;
}
public function setTarifsTitre(string $tarifsTitre): self
{
$this->tarifsTitre = $tarifsTitre;
return $this;
}
public function getTarifsDescription(): ?string
{
return $this->tarifsDescription;
}
public function setTarifsDescription(?string $tarifsDescription): self
{
$this->tarifsDescription = $tarifsDescription;
return $this;
}
public function getTexteService(): ?string
{
return $this->texteService;
}
public function setTexteService(string $texteService): self
{
$this->texteService = $texteService;
return $this;
}
public function getImageService(): ?string
{
return $this->ImageService;
}
public function setImageService(string $ImageService): self
{
$this->ImageService = $ImageService;
return $this;
}
public function getAbsoluteImageRealisations() : ?string
{
return sprintf("https://%s/websiteImage/realisation.jpg",$_SERVER['HTTP_HOST']);
}
public function getAbsoluteImageBlog() : ?string
{
return sprintf("https://%s/websiteImage/blog.jpg",$_SERVER['HTTP_HOST']);
}
public function getAbsoluteImageActualites() : ?string
{
return sprintf("https://%s/websiteImage/news.jpg",$_SERVER['HTTP_HOST']);
}
public function getAbsoluteImageContact() : ?string
{
return sprintf("https://%s/websiteImage/contact.jpg",$_SERVER['HTTP_HOST']);
}
public function getAbsoluteImageServices() : ?string
{
return sprintf("https://%s/websiteImage/services.jpg",$_SERVER['HTTP_HOST']);
}
}