Exemplo n.º 1
0
 /**
  * @inheritdoc
  */
 public function removeCompetency(CompetencyInterface $competency)
 {
     if ($this->competencies->contains($competency)) {
         $this->competencies->removeElement($competency);
         $competency->removeAamcPcrs($this);
     }
 }
Exemplo n.º 2
0
 /**
  * @param CompetencyInterface $child
  */
 public function addChild(CompetencyInterface $child)
 {
     if (!$this->children->contains($child)) {
         $this->children->add($child);
     }
 }