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