Interface Swift_Mailer_RecipientIterator

Implemented bySwift_Mailer_ArrayRecipientIterator

Provides an abstract way of specifying recipients for batch sending.

Public Methods

Hide inherited methods

MethodDescriptionDefined 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

hasNext() public abstract method

Returns true only if there are more recipients to send to.

public abstract bool hasNext ( )
nextRecipient() public abstract method

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 ( )