2.0.0-alpha1 - Early release of the upcoming major version!
Pre-release
Pre-release
willdurand
released this
28 Nov 08:43
·
110 commits
to master
since this release
- Move plain old
Email
class toParser\EmailParser
— this class is now responsible for parsing emails and creatingEmail
/Fragment
objects (see below) - Move plain old
Fragment
class toParser\FragmentDTO
— it holds data to buildFragment
objects - Refactor
EmailParser
code (simplification, more typehints) - Add (new)
Email
class that contains a set ofFragment
objects, with a read only API => it is a value object - Add (new)
Fragment
class — it is a value object - Refactor tests to fit the new API, however nothing has been broken
- Update README and Composer config
- Extract method to create
Email
/Fragment
objects