예제 #1
0
 /**
  * @inheritdoc
  */
 public function removeTerm(TermInterface $term)
 {
     if ($this->terms->contains($term)) {
         $this->terms->removeElement($term);
         $term->removeAamcResourceType($this);
     }
 }
예제 #2
0
파일: Term.php 프로젝트: stopfstedt/ilios
 /**
  * @inheritdoc
  */
 public function removeChild(TermInterface $child)
 {
     $this->children->removeElement($child);
 }