public function synchronize(ContactsList $contactsList)
    {

        // Remove diff Contacts
        $batchesResultRemove = $this->batchRemoveContact($contactsList);
        // Add Contacts
        $batchesResultAdd = $this->batchAddContact($contactsList);

        return array_merge($batchesResultRemove, $batchesResultAdd);
    }
public function synchronize(ContactsList $contactsList)
    {

        // Remove diff Contacts
        $batchesResultRemove = $this->batchRemoveContact($contactsList);
        // Add Contacts
        $batchesResultAdd = $this->batchAddContact($contactsList);

        return array_merge($batchesResultRemove, $batchesResultAdd);
    }
public function synchronize ( ContactsList $ contactsList ) { // Remove diff Contacts $ batchesResultRemove = $ this -> batchRemoveContact ( $ contactsList ) ; // Add Contacts $ batchesResultAdd = $ this -> batchAddContact ( $ contactsList ) ; return array_merge ( $ batchesResultRemove , $ batchesResultAdd ) ; }
Multiple contacts can be uploaded asynchronously using that action.

@param ContactsList $contactsList
@return array
Multiple contacts can be uploaded asynchronously using that action .