\Swift_Mailer_RecipientIterator
Provides an abstract way of specifying recipients for batch sending.
- Author: Chris Corbyn
Synopsis
interface Swift_Mailer_RecipientIterator
{
- // methods
- public boolean hasNext()
- public array nextRecipient()
Methods
public
- hasNext() — Returns true only if there are more recipients to send to.
- nextRecipient() — Returns an array where the keys are the addresses of recipients and the values are the names. e.g. ('foo@bar' => 'Foo') or ('foo@bar' => NULL)