public function addAcademicCost(AcademicCost $l) { $this->collAcademicCosts[] = $l; $l->setPayerType($this); }