public function addVStudentScore(VStudentScore $l) { $this->collVStudentScores[] = $l; $l->setSubject($this); }