parent; } public function setParent(?Skill $parent): self { $this->parent = $parent; return $this; } public function setRelationType(int $relationType): self { $this->relationType = $relationType; return $this; } /** * Get relationType. * * @return int */ public function getRelationType() { return $this->relationType; } public function setLevel(int $level): self { $this->level = $level; return $this; } public function getLevel(): int { return $this->level; } public function getId(): int { return $this->id; } public function getSkill(): Skill { return $this->skill; } public function setSkill(Skill $skill): self { $this->skill = $skill; return $this; } }