/** * @inheritdoc */ public function removeCompetency(CompetencyInterface $competency) { if ($this->competencies->contains($competency)) { $this->competencies->removeElement($competency); $competency->removeAamcPcrs($this); } }
/** * @param CompetencyInterface $child */ public function removeChild(CompetencyInterface $child) { $this->children->removeElement($child); $child->setParent(null); }