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