public function addEmployeeDetail(EmployeeDetail $l) { $this->collEmployeeDetails[] = $l; $l->setEmployeeDivision($this); }