public function addTestApplicantDetail(TestApplicantDetail $l) { $this->collTestApplicantDetails[] = $l; $l->setSchool($this); }