PHP code example of gueststream / bookingconfirmation
1. Go to this page and download the library: Download gueststream/bookingconfirmation library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
gueststream / bookingconfirmation example snippets
php
$bookingConfirmation = new Gueststream\Reservations\BookingConfirmation();
$bookingConfirmation->setBookingNumber(1234);
$bookingConfirmation->setArrivalDate('2020-12-01');
$bookingConfirmation->setDepartureDate('2020-12-7');
echo $bookingConfirmation->getNights();