public function addTos(
        $toEmails,
        $personalizationIndex = null,
        $personalization = null
    ) {
        $this->addRecipientEmails(
            "To",
            $toEmails,
            $personalizationIndex,
            $personalization
        );
    }
public function addTos(
        $toEmails,
        $personalizationIndex = null,
        $personalization = null
    ) {
        $this->addRecipientEmails(
            "To",
            $toEmails,
            $personalizationIndex,
            $personalization
        );
    }
public function addTos ( $ toEmails , $ personalizationIndex = null , $ personalization = null ) { $ this -> addRecipientEmails ( "To" , $ toEmails , $ personalizationIndex , $ personalization ) ; }
Adds multiple email recipients to a Personalization object

@param To[]|array $toEmails Array of To objects or
key/value pairs of email
address/recipient names
@param int|null $personalizationIndex Index into an array of
existing Personalization
objects
@param Personalization|null $personalization A pre-created
Personalization object
Adds multiple email recipients to a Personalization object