/** * Removes a Vcard * * @param \PHTH\Dracv\Domain\Model\Vcard $contactToRemove The Vcard to be removed * @return void */ public function removeContact(\PHTH\Dracv\Domain\Model\Vcard $contactToRemove) { $this->contact->detach($contactToRemove); }
/** * Removes a Vcard * * @param \PHTH\Dracv\Domain\Model\Vcard $coworkerToRemove The Vcard to be removed * @return void */ public function removeCoworker(\PHTH\Dracv\Domain\Model\Vcard $coworkerToRemove) { $this->coworkers->detach($coworkerToRemove); }