createdAt = new DateTime('now'); $this->updatedAt = new DateTime('now'); } /** * @return int */ public function getId() { return $this->id; } public function getSkill(): Skill { return $this->skill; } public function setSkill(Skill $skill): self { $this->skill = $skill; return $this; } public function getCourse(): Course { return $this->course; } public function setCourse(Course $course): self { $this->course = $course; return $this; } public function getSession(): ?Session { return $this->session; } public function setSession(?Session $session): self { $this->session = $session; return $this; } /** * @return DateTime */ public function getCreatedAt() { return $this->createdAt; } /** * @return SkillRelCourse */ public function setCreatedAt(DateTime $createdAt) { $this->createdAt = $createdAt; return $this; } /** * @return DateTime */ public function getUpdatedAt() { return $this->updatedAt; } /** * @return SkillRelCourse */ public function setUpdatedAt(DateTime $updatedAt) { $this->updatedAt = $updatedAt; return $this; } }