zbateson / mail-mime-parser

An email parser written in PHP
https://mail-mime-parser.org/
BSD 2-Clause "Simplified" License
442 stars 56 forks source link

Added getDateTimeImmutable() #149

Closed ThomasLandauer closed 3 years ago

ThomasLandauer commented 3 years ago

Just a convenience method - useful, when you save this to a datetime_immutable database field (i.e. the setter expects \DateTimeImmutable)

ThomasLandauer commented 3 years ago

Please merge this - I'm already using it in my project ;-)