public static function create($hotel, $city, $state, $country, DateTime $reservationDate, DateTime $reservationExpirationDate, DateTime $checkInDate, DateTime $checkOutDate) { $hotelReservation = new self(); $hotelReservation->setHotel($hotel)->setCity($city)->setState($state)->setCountry($country)->setReservationDate($reservationDate)->setReservationExpirationDate($reservationExpirationDate)->setCheckInDate($checkInDate)->setCheckOutDate($checkOutDate); return $hotelReservation; }