PHP Interface Swift_Mailer_RecipientIterator, Halite

Author: Chris Corbyn
Show file Open project: HaliteChallenge/Halite Interface Usage Examples

Public Methods

Method Description
hasNext ( ) : boolean Returns true only if there are more recipients to send to.
nextRecipient ( ) : array 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).

Method Details

hasNext() public method

Returns true only if there are more recipients to send to.
public hasNext ( ) : boolean
return boolean

nextRecipient() public 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 nextRecipient ( ) : array
return array