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