예제 #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
파일: Vcard.php 프로젝트: Nimmermaer/dracV
 /**
  * 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);
 }