<?php
/**
* Model class for lost password form
*
* PHP version 7.4
*
* @category App
* @package App\Form\Model
* @author Momcilo Radotic <m.radotic@outlook.com>
* @copyright 2021 MoravaPro
* @license MoravaPro
*/
namespace App\Validation\Form;
use Symfony\Component\Validator\Constraints as Asserts;
/**
* Model class for lost password form
*
* @category App
* @package App\Validation\Form
*/
class LostPasswordForm
{
/**
* @var string
*
* @Asserts\Email
* @Asserts\NotBlank
* @Asserts\NotNull
*/
private $email;
/**
* @return string
*/
public function getEmail(): ?string
{
return $this->email;
}
/**
* @param string $email
*/
public function setEmail(string $email): void
{
$this->email = $email;
}
}