|
@@ -44,7 +44,6 @@ class ContactPoint
|
|
|
|
|
|
|
|
#[ORM\Column(length: 255, nullable: true)]
|
|
#[ORM\Column(length: 255, nullable: true)]
|
|
|
#[Assert\Email(message: 'invalid-email-format', mode: 'strict')]
|
|
#[Assert\Email(message: 'invalid-email-format', mode: 'strict')]
|
|
|
- #[Assert\Regex(pattern: '/^[a-zA-Z0-9._%-]{1,64}@[a-zA-Z0-9.-]{2,249}\.[a-zA-Z]{2,6}$/', message: 'email-error')]
|
|
|
|
|
private ?string $email = null;
|
|
private ?string $email = null;
|
|
|
|
|
|
|
|
#[ORM\Column(length: 255, nullable: true)]
|
|
#[ORM\Column(length: 255, nullable: true)]
|