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