2.3.0
New
- Introduce two distinct implementations of
RfcEmailAddress
andCaseInsensitiveEmailAddress
to be used instead of genericEmailAddress
. - Add
EmailAddress::equals()
for comparing two email address value objects.
Deprecations
EmailAddress::getOriginalValue()
is deprecated, usetoString()
instead.EmailAddress::getLowercaseValue()
is deprecated, for case insensitive representation of email address use directlyCaseInsensitiveEmailAddress
implementation.- Named constructors on
EmailAddress
are deprecated, you should use named constructors of a specific implementation. - For backward compatibility reasons
EmailAddress
exists as an abstract class. It should not be inherited from by userland. It will be converted to interface in the next major release.