public function addVCourseSession(VCourseSession $l) { $this->collVCourseSessions[] = $l; $l->setSubjectCurr($this); }