protected function removeInterests(DeliveranceList $list, array $interests) { $email = $this->getEmail(); $info = $this->getInterestInfo($interests); if (count($info) > 0) { $array_map = $this->getInterestArrayMap($interests); $response = $list->update($email, $info, $array_map); $this->handleUpdateResponse($list, $response); } }