Closed ghost closed 10 months ago
If we load from xero, we can only ever add new contact persons, I need a way to remove the old contact persons after having loaded a contact. This will accomplish that.
Cheers for the update. Just our of curiosity, will the ->removeAll() method on the collection not work in your use case?
->removeAll()
Yes that will solve the problem, didn't realise that existed. Thanks.
If we load from xero, we can only ever add new contact persons, I need a way to remove the old contact persons after having loaded a contact. This will accomplish that.