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