<?php
namespace App\Entity;
use libphonenumber\PhoneNumber;
/**
* Une table fictive pour la gestion du formulaire de contact */class Contact
{
/** @var string */
private $subject;
/** @var string */
private $name;
/** @var string */
private $content;
/** @var string */
private $email;
/** @var PhoneNumber */
private $phone;
/** @var string */
private $civility;
/** @var string */
private $company;
public function setSubject(string $subject): self
{
$this->subject = $subject;
return $this;
} public function setContent(string $content): self
{
$this->content = $content;
return $this;
} public function setEmail(string $email): self
{
$this->email = $email;
return $this;
} public function setName(string $name): self
{
$this->name = $name;
return $this;
} public function getName(): string
{
return $this->name;
} public function getSubject(): string
{
return $this->subject;
} public function getContent(): string
{
return $this->content;
} public function getEmail(): string
{
return $this->email;
} public function setPhone(PhoneNumber $phone): self
{
$this->phone = $phone;
return $this;
} public function getPhone(): ?PhoneNumber
{
return $this->phone;
} public function setCivility(string $civility): self
{
$this->civility = $civility;
return $this;
} public function getCivility(): string
{
return $this->civility;
} public function setCompany(string $company): self
{
$this->company = $company;
return $this;
} public function getCompany(): string
{
return $this->company;
}}