Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Make AddressList logic more accessible #6268

Conversation

davidwindell
Copy link
Contributor

I needed access to the logic used here outside of Zend\Mail\Header\x, so I moved it to the AddressList.

* @throws Exception\InvalidArgumentException
* @return AddressList
*/
public function addFromString($address)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just an idea: can we move this to an external helper class instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure where a helper class would go?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure either :\ I guess it makes sense here then.

@Ocramius
Copy link
Member

@davidwindell can you remove davidwindell/zf2@ef98f22 ?

@Ocramius Ocramius self-assigned this May 15, 2014
@Ocramius Ocramius added this to the 2.4.0 milestone May 15, 2014
@Ocramius
Copy link
Member

@davidwindell can you also move the relevant tests or copy them to the appropriate test class?

@davidwindell
Copy link
Contributor Author

@Ocramius errant commit has been removed, can we merge this now? The existing tests are specific to headers so probably best to leave them where they area.

@Ocramius
Copy link
Member

@davidwindell merged manually @9c1130859d32f465cbc38a76d58211c2d3a31565

@Ocramius Ocramius closed this Jul 27, 2014
@davidwindell davidwindell deleted the feature-addresslist-from-string branch July 28, 2014 09:55
weierophinney pushed a commit to zendframework/zend-mail that referenced this pull request May 14, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants