Пример #1
0
 public static function toEntity(SalonDTO $salonDTO)
 {
     $salon = new Salon();
     $salon->setId($salonDTO->getId());
     $salon->setSalonNombre($salonDTO->getSalonNombre());
     return $salon;
 }