Exemple #1
0
 /**
  * @param ChildSkill $skillRelatedByStartPositionId The ChildSkill object to add.
  */
 protected function doAddSkillRelatedByStartPositionId(ChildSkill $skillRelatedByStartPositionId)
 {
     $this->collSkillsRelatedByStartPositionId[] = $skillRelatedByStartPositionId;
     $skillRelatedByStartPositionId->setStartPosition($this);
 }
 /**
  * @return Skill
  */
 public function createSkill($id, $name)
 {
     $skill = new Skill();
     $skill->addGroup($this->group);
     $skill->setStartPosition($this->startPosition);
     $skill->setEndPosition($this->endPosition);
     $skill->setId($id);
     $skill->setName($name);
     return $skill;
 }