Example #1
0
 /**
  * @param ProgramYearInterface $programYear
  */
 public function addProgramYear(ProgramYearInterface $programYear)
 {
     $this->programYears->add($programYear);
 }
Example #2
0
 /**
  * @inheritdoc
  */
 public function removeProgramYear(ProgramYearInterface $programYear)
 {
     if ($this->programYears->contains($programYear)) {
         $this->programYears->removeElement($programYear);
         $programYear->removeCompetency($this);
     }
 }