/** * @param MeshTermInterface $term */ public function addTerm(MeshTermInterface $term) { $this->terms->add($term); }
/** * @param MeshTermInterface $term */ public function addTerm(MeshTermInterface $term) { if (!$this->terms->contains($term)) { $this->terms->add($term); $term->addConcept($this); } }