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