Example #1
0
 /**
  * @inheritdoc
  */
 public function removeTerm(TermInterface $term)
 {
     if ($this->terms->contains($term)) {
         $this->terms->removeElement($term);
         $term->removeAamcResourceType($this);
     }
 }
Example #2
0
 /**
  * @inheritdoc
  */
 public function removeChild(TermInterface $child)
 {
     $this->children->removeElement($child);
 }