Ejemplo n.º 1
0
 /**
  * @inheritdoc
  */
 public function removeConcept(MeshConceptInterface $concept)
 {
     if ($this->concepts->contains($concept)) {
         $this->concepts->removeElement($concept);
         $concept->removeSemanticType($this);
     }
 }
Ejemplo n.º 2
0
 /**
  * @param MeshConceptInterface $concept
  */
 public function addConcept(MeshConceptInterface $concept)
 {
     $this->concepts->add($concept);
 }
Ejemplo n.º 3
0
 /**
  * @inheritdoc
  */
 public function removeConcept(MeshConceptInterface $concept)
 {
     if ($this->concepts->contains($concept)) {
         $this->concepts->removeElement($concept);
         $concept->removeDescriptor($this);
     }
 }