public function subscribe(string $listId, string $email, array $mergeFields = [], bool $confirm = true)
    {
        if ($this->status($listId, $email) == 'subscribed') {
            $confirm = false;
        }
        $this->api->addUpdate($listId, $email, $mergeFields, $confirm);
    }
public function subscribe(string $listId, string $email, array $mergeFields = [], bool $confirm = true)
    {
        if ($this->status($listId, $email) == 'subscribed') {
            $confirm = false;
        }
        $this->api->addUpdate($listId, $email, $mergeFields, $confirm);
    }
public function subscribe ( string $ listId , string $ email , array $ mergeFields = [ ] , bool $ confirm = true ) { if ( $ this -> status ( $ listId , $ email ) == 'subscribed' ) { $ confirm = false ; } $ this -> api -> addUpdate ( $ listId , $ email , $ mergeFields , $ confirm ) ; }
Ensures that existing subscribers are not asked to reconfirm
Ensures that existing subscribers are not asked to reconfirm