BusinessEmail
extends Constraint
in package
Tags
Attributes
- #[Attribute]
Table of Contents
Properties
- $message : string
- $personalDomains : array<string|int, mixed>
Properties
$message
public
string
$message
= 'Veuillez utiliser une adresse email professionnelle. Les adresses personnelles (Gmail, Yahoo, Hotmail, etc.) ne sont pas acceptées.'
$personalDomains
public
array<string|int, mixed>
$personalDomains
= ['gmail.com', 'yahoo.com', 'yahoo.fr', 'hotmail.com', 'hotmail.fr', 'outlook.com', 'outlook.fr', 'live.com', 'live.fr', 'msn.com', 'aol.com', 'free.fr', 'orange.fr', 'wanadoo.fr', 'laposte.net', 'sfr.fr', 'bbox.fr', 'numericable.fr', 'aliceadsl.fr', 'club-internet.fr', 'neuf.fr', '9online.fr', 'cegetel.net', 'tele2.fr', 'dartybox.com', 'protonmail.com', 'icloud.com', 'me.com', 'mac.com']