Aerendir / component-value-objects

A set of PHP Value Objects to manage composite values

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create a Shipping Value Object

Aerendir opened this issue · comments

It has a Recipient, a Street, a note, a PhoneNumber, an Email.

@Aerendir, can you explain more details about implementing this?

Thanks.

@peter279k , I've not more detils to provide.

Reading again my first comment, maybe the "street" field should be changed into "address" field.

So, the Email field, should use an Email immutable object; PhoneNumber the same, Recipient is another object with a Name, a Second Name and a Last name at least, Adress is another immutable object.

For the moment I will not work on this as I'm working on AwsSesMonitorBundle: maybe you would like to?