/** * @inheritdoc */ public function removeConcept(MeshConceptInterface $concept) { if ($this->concepts->contains($concept)) { $this->concepts->removeElement($concept); $concept->removeSemanticType($this); } }
/** * @param MeshConceptInterface $concept */ public function addConcept(MeshConceptInterface $concept) { $this->concepts->add($concept); }
/** * @inheritdoc */ public function removeConcept(MeshConceptInterface $concept) { if ($this->concepts->contains($concept)) { $this->concepts->removeElement($concept); $concept->removeDescriptor($this); } }