public function checkValid()
 {
     $hotelBookClient = new HotelBookClient();
     return $hotelBookClient->checkHotel($this->hotel);
 }
Esempio n. 2
0
 public function getIsValid()
 {
     $request = new HotelBookClient();
     return $request->checkHotel($this);
 }