public function addStudentRaport(StudentRaport $l) { $this->collStudentRaports[] = $l; $l->setGradeComponent($this); }