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