Interface Swift_Mailer_RecipientIterator
Implemented by | Swift_Mailer_ArrayRecipientIterator |
---|
Provides an abstract way of specifying recipients for batch sending.
Public Methods
Method | Description | Defined By |
---|---|---|
hasNext() | Returns true only if there are more recipients to send to. | Swift_Mailer_RecipientIterator |
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). | Swift_Mailer_RecipientIterator |
Method Details
Returns true only if there are more recipients to send to.
public abstract bool hasNext ( ) |
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).
public abstract array nextRecipient ( ) |