/** * @inheritdoc */ public function removeCompetency(CompetencyInterface $competency) { if ($this->competencies->contains($competency)) { $this->competencies->removeElement($competency); $competency->removeAamcPcrs($this); } }
/** * @return bool */ public function hasChildren() { return !$this->children->isEmpty() ? true : false; }
/** * @param CompetencyInterface $competency */ public function addCompetency(CompetencyInterface $competency) { $this->competencies->add($competency); }