Esempio n. 1
0
 /**
  * @param Insurance $isurance
  * @return HandicapListDTO
  */
 public function toInsuranceListDTO(Insurance $isurance)
 {
     $insuranceListDTO = new HandicapListDTO();
     $insuranceListDTO->id = $isurance->getId();
     $insuranceListDTO->name = $isurance->getName();
     return $insuranceListDTO;
 }