src/Email/SwiftEmail.php
public function setTo(array $addresses): Email
    {
        $addresses = $this->transformAddressesToArray($addresses);
        $this->message->setTo($addresses);

        return $this;
    }
public function setTo(array $addresses): Email
    {
        $addresses = $this->transformAddressesToArray($addresses);
        $this->message->setTo($addresses);

        return $this;
    }
public function setTo ( array $ addresses ) : Email { $ addresses = $ this -> transformAddressesToArray ( $ addresses ) ; $ this -> message -> setTo ( $ addresses ) ; return $ this ; }
Set the To addresses.

Recipients set in this field will receive a copy of this message.

@param Address[] $addresses

@return self
Set the To addresses .