DomainSpecificEmailField::setAllowedDomains
Set which domains are allowed. If not define, this condition will be ignored.
Signature
public function setAllowedDomains([string]|string
$value )
Parameters
$value
— object- A list of allowed domains. If a string is provided, it will be splitted by line.
Returns
- DomainSpecificEmailField