public function addStudentType(StudentType $l) { $this->collStudentTypes[] = $l; $l->setPayerType($this); }