Exemplo n.º 1
0
 /**
  * @param POIKeyword $poiKeyword
  * @return VehicleCategoryListDTO
  */
 public function toPoiKeywordListDTO(POIKeyword $poiKeyword)
 {
     $poiKeywordListDTO = new VehicleCategoryListDTO();
     $poiKeywordListDTO->id = $poiKeyword->getId();
     $poiKeywordListDTO->name = $poiKeyword->getName();
     return $poiKeywordListDTO;
 }