public function setRecipients($type, array $recipients = [])
    {
        foreach ($recipients as $key => $recipient) {
            $this->setRecipient(
                $type,
                array_get($recipient, 'email'),
                array_get($recipient, 'name')
            );
        }

        return $this;
    }
public function setRecipients($type, array $recipients = [])
    {
        foreach ($recipients as $key => $recipient) {
            $this->setRecipient(
                $type,
                array_get($recipient, 'email'),
                array_get($recipient, 'name')
            );
        }

        return $this;
    }
public function setRecipients ( $ type , array $ recipients = [ ] ) { foreach ( $ recipients as $ key => $ recipient ) { $ this -> setRecipient ( $ type , array_get ( $ recipient , 'email' ) , array_get ( $ recipient , 'name' ) ) ; } return $ this ; }
Sets multiple recipients by type.

@param  string  $type
@param  array  $recipients
@return $this
Sets multiple recipients by type .