<?php
namespace App\Object;
use Symfony\Component\Form\FormTypeInterface;
class AskMail
{
protected $name;
protected $email;
protected $number;
protected $message;
public function getName()
{
return $this->name;
}
public function setName(string $name):self
{
$this->name=$name;
return $this;
}
public function getEmail()
{
return $this->email;
}
public function setEmail(string $email):self
{
$this->email=$email;
return $this;
}
public function getNumber()
{
return $this->number;
}
public function setNumber(string $number):self
{
$this->number=$number;
return $this;
}
public function getMessage()
{
return $this->message;
}
public function setMessage(string $message):self
{
$this->message=nl2br($message);
return $this;
}
}
?>