示例#1
0
 /**
  * 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);
 }
示例#2
0
 /**
  * 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);
 }