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