/** * @inheritdoc */ public function addConcept(MeshConceptInterface $concept) { if (!$this->concepts->contains($concept)) { $this->concepts->add($concept); $concept->addSemanticType($this); } }
/** * @param MeshConceptInterface $concept */ public function addConcept(MeshConceptInterface $concept) { $this->concepts->add($concept); }
/** * @inheritdoc */ public function addConcept(MeshConceptInterface $concept) { if (!$this->concepts->contains($concept)) { $this->concepts->add($concept); $concept->addDescriptor($this); } }