} |
|
|
|
|
|
|
|
$start = new \DateTime($this->request->query['check_in_date']); |
|
$end = new \DateTime($this->request->query['check_out_date']); |
|
|
|
|
|
|
'May Sun%2C2023'
} |
|
/* @var callable $callable */ |
|
$callable = [$this, $request->getParam('action')]; |
|
|
|
return $callable(...array_values($request->getParam('pass'))); |
|
} |
|
|
|
/** |
|
* Merge components, helpers vars from |
No arguments
if ($result instanceof Response) { |
|
return $result; |
|
} |
|
|
|
$response = $controller->invokeAction(); |
|
if ($response !== null && !($response instanceof Response)) { |
|
throw new LogicException('Controller actions can only return Cake\Http\Response or null.'); |
|
} |
|
|
No arguments
} else { |
|
$controller = $this->factory->create($request, $response); |
|
} |
|
|
|
$response = $this->_invoke($controller); |
|
if ($request->getParam('return')) { |
|
return $response; |
|
} |
|
|
object(App\Controller\BookingsController) { IBESettings => [ 'TAX' => '', 'SERVICE_CHARGE' => '', 'CITY_TAX' => '', 'DATE_PICKER_CURRENCY_SYMBOL' => '$', 'BOOKING_ENGINE_NAME' => 'Gartons Cape Booking', 'APP_URL' => 'https://bookings.gartonscape.com/current/', 'COMPANY_NAME' => 'Garton's Cape', 'WEBSITE_URL' => 'http://www.gartonscape.com/', 'WEBSITE_CONTACT_PAGE_URL' => 'http://www.gartonscape.com/contact-us/', 'COMPANY_CONTACT_NUMBER' => '+94 112 818 633', 'COMPANY_MAP_LOCATION' => 'Garton's Cape', 'GOOGLE_MAP_DIRECTION_END_POINT' => 'https://maps.googleapis.com/maps/api/directions/json?', 'GOOGLE_MAP_DIRECTION_API_KEY' => 'AIzaSyBQIAFOl-t8ojfxq6d57mVKPn7mWp-DbaE', 'BOOKING_ID_SHORT_CODE' => 'GS', 'HOTEL_MAX_OCCUPANCY' => '3', 'SHOW_DATE_IN_DATEPICKER' => '1', 'LOGO' => 'logo-header.png', 'MULTIPLE_CURRENCY_STATUS' => '2', 'DEFAULT_CURRENCY' => '2', 'HOTEL_DESCRIPTION' => 'A truly unique 5-star luxury boutique hotel in the little hamlet of Ahangama, south Sri Lanka. Situated on the sea-front of the Indian Ocean, Garton’s Cape is blessed with glorious views of the ocean, blue sky and tranquil lagoon, providing an excellent backdrop for relaxation and rejuvenation. Our contemporary designs, Sri Lankan architecture and furnishings, modern amenities and state-of-the-art technology add elegance and comfort to our 23 rooms and suites for the ultimate relaxing stay.', 'HOTEL_ADDRESS' => 'Denuwala, Ahangama Sri Lanka', 'HOTEL_CHECKIN_TIME' => '12:00 PM', 'HOTEL_CHECKOUT_TIME' => '02:00 PM', 'HOTEL_CHILD_POLICY' => 'Age 0-12 are considered as children', 'HOTEL_OTHER_POLICY' => '', 'HOTEL_ATTRACTIONS' => 'Restaurant|Spa|Swimming Pool|Gym', 'HOTEL_STAR_RATING' => '8', 'ADDONS_NOT_AVAILABLE_ERROR' => 'Addons Not Available', 'CHANNEL_BOOKING_SYNCING' => '1', 'PAYMENT_TERMS_PDF' => 'terms-and-conditions.pdf', 'CHANNEL_MANAGER_AUTO_INVENTORY_UPDATE' => '1', 'WEB_FAVICON' => 'favicon.png' ] helpers => [] request => object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ [maximum depth reached] ] [protected] data => [[maximum depth reached]] [protected] query => [ [maximum depth reached] ] [protected] cookies => [[maximum depth reached]] [protected] _environment => [ [maximum depth reached] ] [protected] url => '' [protected] base => '/current' [protected] webroot => '/current/' [protected] here => '/current/' [protected] trustedProxies => [[maximum depth reached]] [protected] _input => null [protected] _detectors => [ [maximum depth reached] ] [protected] _detectorCache => [ [maximum depth reached] ] [protected] stream => object(Zend\Diactoros\PhpInputStream) {} [protected] uri => object(Zend\Diactoros\Uri) {} [protected] session => object(Cake\Http\Session) {} [protected] attributes => [[maximum depth reached]] [protected] emulatedAttributes => [ [maximum depth reached] ] [protected] uploadedFiles => [[maximum depth reached]] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ [maximum depth reached] ] } response => object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ [maximum depth reached] ], 'file' => null, 'fileRange' => [[maximum depth reached]], 'cookies' => object(Cake\Http\Cookie\CookieCollection) {}, 'cacheDirectives' => [[maximum depth reached]], 'body' => '' } paginate => [] components => [] View => null passedArgs => [] modelClass => 'Bookings' viewClass => null viewVars => [ 'nationality' => null, 'webThemeSettings' => [ 'FONT' => '1', 'THEME_COLOUR' => '#7c0c20', 'BUTTON_COLOUR' => '#7c0c20', 'BUTTON_HOVER_COLOUR' => '#7c0c20', 'CALENDAR_DAY_HIGHLIGHT_COLOUR' => '#7c0c20', 'CALENDAR_CHECKIN_CHECKOUT_COLOUR' => '#7c0c20' ], 'enabledbookingHandler' => null, 'IBESettings' => [ 'TAX' => '', 'SERVICE_CHARGE' => '', 'CITY_TAX' => '', 'DATE_PICKER_CURRENCY_SYMBOL' => '$', 'BOOKING_ENGINE_NAME' => 'Gartons Cape Booking', 'APP_URL' => 'https://bookings.gartonscape.com/current/', 'COMPANY_NAME' => 'Garton's Cape', 'WEBSITE_URL' => 'http://www.gartonscape.com/', 'WEBSITE_CONTACT_PAGE_URL' => 'http://www.gartonscape.com/contact-us/', 'COMPANY_CONTACT_NUMBER' => '+94 112 818 633', 'COMPANY_MAP_LOCATION' => 'Garton's Cape', 'GOOGLE_MAP_DIRECTION_END_POINT' => 'https://maps.googleapis.com/maps/api/directions/json?', 'GOOGLE_MAP_DIRECTION_API_KEY' => 'AIzaSyBQIAFOl-t8ojfxq6d57mVKPn7mWp-DbaE', 'BOOKING_ID_SHORT_CODE' => 'GS', 'HOTEL_MAX_OCCUPANCY' => '3', 'SHOW_DATE_IN_DATEPICKER' => '1', 'LOGO' => 'logo-header.png', 'MULTIPLE_CURRENCY_STATUS' => '2', 'DEFAULT_CURRENCY' => '2', 'HOTEL_DESCRIPTION' => 'A truly unique 5-star luxury boutique hotel in the little hamlet of Ahangama, south Sri Lanka. Situated on the sea-front of the Indian Ocean, Garton’s Cape is blessed with glorious views of the ocean, blue sky and tranquil lagoon, providing an excellent backdrop for relaxation and rejuvenation. Our contemporary designs, Sri Lankan architecture and furnishings, modern amenities and state-of-the-art technology add elegance and comfort to our 23 rooms and suites for the ultimate relaxing stay.', 'HOTEL_ADDRESS' => 'Denuwala, Ahangama Sri Lanka', 'HOTEL_CHECKIN_TIME' => '12:00 PM', 'HOTEL_CHECKOUT_TIME' => '02:00 PM', 'HOTEL_CHILD_POLICY' => 'Age 0-12 are considered as children', 'HOTEL_OTHER_POLICY' => '', 'HOTEL_ATTRACTIONS' => 'Restaurant|Spa|Swimming Pool|Gym', 'HOTEL_STAR_RATING' => '8', 'ADDONS_NOT_AVAILABLE_ERROR' => 'Addons Not Available', 'CHANNEL_BOOKING_SYNCING' => '1', 'PAYMENT_TERMS_PDF' => 'terms-and-conditions.pdf', 'CHANNEL_MANAGER_AUTO_INVENTORY_UPDATE' => '1', 'WEB_FAVICON' => 'favicon.png' ], 'systemEndpoints' => '{"loadBookingFromSession":"bookings\/loadBookingFromSession\/","changeOccupancy":"bookings\/getRoomRatesByOccupancy\/","selectBooking":"bookings\/updateBooking\/","addTaxToBooking":"bookings\/CalculateAndAddTax\/","addedGuestDetails":"bookings\/addCustomerDetails\/","removeSelectedRoom":"bookings\/removeSelectedRoom\/"}', 'dateAndRates' => '{"Status":true,"Message":null,"Data":null}', 'datePickerDisableDates' => [ 'DatesToDisable' => '"01/01/2024","01/02/2024","01/03/2024","01/04/2024","01/05/2024","01/06/2024","01/07/2024","01/08/2024","01/09/2024","01/10/2024","01/11/2024","01/12/2024","01/13/2024","01/14/2024","01/15/2024","01/16/2024","01/17/2024","01/18/2024","01/19/2024","01/20/2024","01/21/2024","01/22/2024","01/23/2024","01/24/2024","01/25/2024","01/26/2024","01/27/2024","01/28/2024","01/29/2024","01/30/2024","01/31/2024","12/01/2024","12/02/2024","12/03/2024","12/04/2024","12/05/2024","12/06/2024","12/07/2024","12/08/2024","12/09/2024","12/10/2024","12/11/2024","12/12/2024","12/13/2024","12/14/2024","12/15/2024","12/16/2024","12/17/2024","12/18/2024","12/19/2024","12/20/2024","12/21/2024","12/22/2024","12/23/2024","12/24/2024","12/25/2024","12/26/2024","12/27/2024","12/28/2024","12/29/2024","12/30/2024","12/31/2024","11/01/2024","11/02/2024","11/03/2024","11/04/2024","11/05/2024","11/06/2024","11/07/2024","11/08/2024","11/09/2024","11/10/2024","11/11/2024","11/12/2024","11/13/2024","11/14/2024","11/15/2024","11/16/2024","11/17/2024","11/18/2024","11/19/2024","11/20/2024","11/21/2024","11/22/2024","11/23/2024","11/24/2024","11/25/2024","11/26/2024","11/27/2024","11/28/2024","11/29/2024","11/30/2024","10/01/2024","10/02/2024","10/03/2024","10/04/2024","10/05/2024","10/06/2024","10/07/2024","10/08/2024","10/09/2024","10/10/2024","10/11/2024","10/12/2024","10/13/2024","10/14/2024","10/15/2024","10/16/2024","10/17/2024","10/18/2024","10/19/2024","10/20/2024","10/21/2024","10/22/2024","10/23/2024","10/24/2024","10/25/2024","10/26/2024","10/27/2024","10/28/2024","10/29/2024","10/30/2024","10/31/2024","09/01/2024","09/02/2024","09/03/2024","09/04/2024","09/05/2024","09/06/2024","09/07/2024","09/08/2024","09/09/2024","09/10/2024","09/11/2024","09/12/2024","09/13/2024","09/14/2024","09/15/2024","09/16/2024","09/17/2024","09/18/2024","09/19/2024","09/20/2024","09/21/2024","09/22/2024","09/23/2024","09/24/2024","09/25/2024","09/26/2024","09/27/2024","09/28/2024","09/29/2024","09/30/2024","08/01/2024","08/02/2024","08/03/2024","08/04/2024","08/05/2024","08/06/2024","08/07/2024","08/08/2024","08/09/2024","08/10/2024","08/11/2024","08/12/2024","08/13/2024","08/14/2024","08/15/2024","08/16/2024","08/17/2024","08/18/2024","08/19/2024","08/20/2024","08/21/2024","08/22/2024","08/23/2024","08/24/2024","08/25/2024","08/26/2024","08/27/2024","08/28/2024","08/29/2024","08/30/2024","08/31/2024","07/01/2024","07/02/2024","07/03/2024","07/04/2024","07/05/2024","07/06/2024","07/07/2024","07/08/2024","07/09/2024","07/10/2024","07/11/2024","07/12/2024","07/13/2024","07/14/2024","07/15/2024","07/16/2024","07/17/2024","07/18/2024","07/19/2024","07/20/2024","07/21/2024","07/22/2024","07/23/2024","07/24/2024","07/25/2024","07/26/2024","07/27/2024","07/28/2024","07/29/2024","07/30/2024","07/31/2024","06/01/2024","06/02/2024","06/03/2024","06/04/2024","06/05/2024","06/06/2024","06/07/2024","06/08/2024","06/09/2024","06/10/2024","06/11/2024","06/12/2024","06/13/2024","06/14/2024","06/15/2024","06/16/2024","06/17/2024","06/18/2024","06/19/2024","06/20/2024","06/21/2024","06/22/2024","06/23/2024","06/24/2024","06/25/2024","06/26/2024","06/27/2024","06/28/2024","06/29/2024","06/30/2024","05/01/2024","05/02/2024","05/03/2024","05/04/2024","05/05/2024","05/06/2024","05/07/2024","05/08/2024","05/09/2024","05/10/2024","05/11/2024","05/12/2024","05/13/2024","05/14/2024","05/15/2024","05/16/2024","05/17/2024","05/18/2024","05/19/2024","05/20/2024","05/21/2024","05/22/2024","05/23/2024","05/24/2024","05/25/2024","05/26/2024","05/27/2024","05/28/2024","05/29/2024","05/30/2024","05/31/2024","04/01/2024","04/02/2024","04/03/2024","04/04/2024","04/05/2024","04/06/2024","04/07/2024","04/08/2024","04/09/2024","04/10/2024","04/11/2024","04/12/2024","04/13/2024","04/14/2024","04/15/2024","04/16/2024","04/17/2024","04/18/2024","04/19/2024","04/20/2024","04/21/2024","04/22/2024","04/23/2024","04/24/2024","04/25/2024","04/26/2024","04/27/2024","04/28/2024","04/29/2024","04/30/2024","03/01/2024","03/02/2024","03/03/2024","03/04/2024","03/05/2024","03/06/2024","03/07/2024","03/08/2024","03/09/2024","03/10/2024","03/11/2024","03/12/2024","03/13/2024","03/14/2024","03/15/2024","03/16/2024","03/17/2024","03/18/2024","03/19/2024","03/20/2024","03/21/2024","03/22/2024","03/23/2024","03/24/2024","03/25/2024","03/26/2024","03/27/2024","03/28/2024","03/29/2024","03/30/2024","03/31/2024","03/01/2024","03/02/2024","03/03/2024","03/04/2024","03/05/2024","03/06/2024","03/07/2024","03/08/2024","03/09/2024","03/10/2024","03/11/2024","03/12/2024","03/13/2024","03/14/2024","03/15/2024","03/16/2024","03/17/2024","03/18/2024","03/19/2024","03/20/2024","03/21/2024","03/22/2024","03/23/2024","03/24/2024","03/25/2024","03/26/2024","03/27/2024","03/28/2024","03/29/2024","03/30/2024","03/31/2024","01/01/2025","01/02/2025","01/03/2025","01/04/2025","01/05/2025","01/06/2025","01/07/2025","01/08/2025","01/09/2025","01/10/2025","01/11/2025","01/12/2025","01/13/2025","01/14/2025","01/15/2025","01/16/2025","01/17/2025","01/18/2025","01/19/2025","01/20/2025","01/21/2025","01/22/2025","01/23/2025","01/24/2025","01/25/2025","01/26/2025","01/27/2025","01/28/2025","01/29/2025","01/30/2025","01/31/2025","12/01/2025","12/02/2025","12/03/2025","12/04/2025","12/05/2025","12/06/2025","12/07/2025","12/08/2025","12/09/2025","12/10/2025","12/11/2025","12/12/2025","12/13/2025","12/14/2025","12/15/2025","12/16/2025","12/17/2025","12/18/2025","12/19/2025","12/20/2025","12/21/2025","12/22/2025","12/23/2025","12/24/2025","12/25/2025","12/26/2025","12/27/2025","12/28/2025","12/29/2025","12/30/2025","12/31/2025","11/01/2025","11/02/2025","11/03/2025","11/04/2025","11/05/2025","11/06/2025","11/07/2025","11/08/2025","11/09/2025","11/10/2025","11/11/2025","11/12/2025","11/13/2025","11/14/2025","11/15/2025","11/16/2025","11/17/2025","11/18/2025","11/19/2025","11/20/2025","11/21/2025","11/22/2025","11/23/2025","11/24/2025","11/25/2025","11/26/2025","11/27/2025","11/28/2025","11/29/2025","11/30/2025","10/01/2025","10/02/2025","10/03/2025","10/04/2025","10/05/2025","10/06/2025","10/07/2025","10/08/2025","10/09/2025","10/10/2025","10/11/2025","10/12/2025","10/13/2025","10/14/2025","10/15/2025","10/16/2025","10/17/2025","10/18/2025","10/19/2025","10/20/2025","10/21/2025","10/22/2025","10/23/2025","10/24/2025","10/25/2025","10/26/2025","10/27/2025","10/28/2025","10/29/2025","10/30/2025","10/31/2025","09/01/2025","09/02/2025","09/03/2025","09/04/2025","09/05/2025","09/06/2025","09/07/2025","09/08/2025","09/09/2025","09/10/2025","09/11/2025","09/12/2025","09/13/2025","09/14/2025","09/15/2025","09/16/2025","09/17/2025","09/18/2025","09/19/2025","09/20/2025","09/21/2025","09/22/2025","09/23/2025","09/24/2025","09/25/2025","09/26/2025","09/27/2025","09/28/2025","09/29/2025","09/30/2025","08/01/2025","08/02/2025","08/03/2025","08/04/2025","08/05/2025","08/06/2025","08/07/2025","08/08/2025","08/09/2025","08/10/2025","08/11/2025","08/12/2025","08/13/2025","08/14/2025","08/15/2025","08/16/2025","08/17/2025","08/18/2025","08/19/2025","08/20/2025","08/21/2025","08/22/2025","08/23/2025","08/24/2025","08/25/2025","08/26/2025","08/27/2025","08/28/2025","08/29/2025","08/30/2025","08/31/2025","07/01/2025","07/02/2025","07/03/2025","07/04/2025","07/05/2025","07/06/2025","07/07/2025","07/08/2025","07/09/2025","07/10/2025","07/11/2025","07/12/2025","07/13/2025","07/14/2025","07/15/2025","07/16/2025","07/17/2025","07/18/2025","07/19/2025","07/20/2025","07/21/2025","07/22/2025","07/23/2025","07/24/2025","07/25/2025","07/26/2025","07/27/2025","07/28/2025","07/29/2025","07/30/2025","07/31/2025","06/01/2025","06/02/2025","06/03/2025","06/04/2025","06/05/2025","06/06/2025","06/07/2025","06/08/2025","06/09/2025","06/10/2025","06/11/2025","06/12/2025","06/13/2025","06/14/2025","06/15/2025","06/16/2025","06/17/2025","06/18/2025","06/19/2025","06/20/2025","06/21/2025","06/22/2025","06/23/2025","06/24/2025","06/25/2025","06/26/2025","06/27/2025","06/28/2025","06/29/2025","06/30/2025","05/01/2025","05/02/2025","05/03/2025","05/04/2025","05/05/2025","05/06/2025","05/07/2025","05/08/2025","05/09/2025","05/10/2025","05/11/2025","05/12/2025","05/13/2025","05/14/2025","05/15/2025","05/16/2025","05/17/2025","05/18/2025","05/19/2025","05/20/2025","05/21/2025","05/22/2025","05/23/2025","05/24/2025","05/25/2025","05/26/2025","05/27/2025","05/28/2025","05/29/2025","05/30/2025","05/31/2025","04/01/2025","04/02/2025","04/03/2025","04/04/2025","04/05/2025","04/06/2025","04/07/2025","04/08/2025","04/09/2025","04/10/2025","04/11/2025","04/12/2025","04/13/2025","04/14/2025","04/15/2025","04/16/2025","04/17/2025","04/18/2025","04/19/2025","04/20/2025","04/21/2025","04/22/2025","04/23/2025","04/24/2025","04/25/2025","04/26/2025","04/27/2025","04/28/2025","04/29/2025","04/30/2025","03/01/2025","03/02/2025","03/03/2025","03/04/2025","03/05/2025","03/06/2025","03/07/2025","03/08/2025","03/09/2025","03/10/2025","03/11/2025","03/12/2025","03/13/2025","03/14/2025","03/15/2025","03/16/2025","03/17/2025","03/18/2025","03/19/2025","03/20/2025","03/21/2025","03/22/2025","03/23/2025","03/24/2025","03/25/2025","03/26/2025","03/27/2025","03/28/2025","03/29/2025","03/30/2025","03/31/2025","03/01/2025","03/02/2025","03/03/2025","03/04/2025","03/05/2025","03/06/2025","03/07/2025","03/08/2025","03/09/2025","03/10/2025","03/11/2025","03/12/2025","03/13/2025","03/14/2025","03/15/2025","03/16/2025","03/17/2025","03/18/2025","03/19/2025","03/20/2025","03/21/2025","03/22/2025","03/23/2025","03/24/2025","03/25/2025","03/26/2025","03/27/2025","03/28/2025","03/29/2025","03/30/2025","03/31/2025",' ], 'companyDetails' => object(App\Model\Entity\CompanyDetail) {}, 'logedUser' => null ] Users => object(App\Model\Table\UsersTable) { 'registryAlias' => 'Users', 'table' => 'users', 'alias' => 'Users', 'entityClass' => 'App\Model\Entity\User', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } CompanyDetails => object(App\Model\Table\CompanyDetailsTable) { 'registryAlias' => 'CompanyDetails', 'table' => 'company_details', 'alias' => 'CompanyDetails', 'entityClass' => 'App\Model\Entity\CompanyDetail', 'associations' => [[maximum depth reached]], 'behaviors' => [[maximum depth reached]], 'defaultConnection' => 'default', 'connectionName' => 'default' } Bookings => object(App\Model\Table\BookingsTable) { 'registryAlias' => 'Bookings', 'table' => 'bookings', 'alias' => 'Bookings', 'entityClass' => 'App\Model\Entity\Booking', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } Flash => object(Cake\Controller\Component\FlashComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [ [maximum depth reached] ] } Auth => object(Cake\Controller\Component\AuthComponent) { 'components' => [ [maximum depth reached] ], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [ [maximum depth reached] ] } Settings => object(App\Model\Table\SettingsTable) { 'registryAlias' => 'Settings', 'table' => 'settings', 'alias' => 'Settings', 'entityClass' => 'App\Model\Entity\Setting', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } WebThemeSettings => object(App\Model\Table\WebThemeSettingsTable) { 'registryAlias' => 'WebThemeSettings', 'table' => 'web_theme_settings', 'alias' => 'WebThemeSettings', 'entityClass' => 'App\Model\Entity\WebThemeSetting', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } webThemeSettings => [ 'FONT' => '1', 'THEME_COLOUR' => '#7c0c20', 'BUTTON_COLOUR' => '#7c0c20', 'BUTTON_HOVER_COLOUR' => '#7c0c20', 'CALENDAR_DAY_HIGHLIGHT_COLOUR' => '#7c0c20', 'CALENDAR_CHECKIN_CHECKOUT_COLOUR' => '#7c0c20' ] SystemEndpoints => object(App\Model\Table\SystemEndpointsTable) { 'registryAlias' => 'SystemEndpoints', 'table' => 'system_endpoints', 'alias' => 'SystemEndpoints', 'entityClass' => 'App\Model\Entity\SystemEndpoint', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } BookingHandlers => object(App\Model\Table\BookingHandlersTable) { 'registryAlias' => 'BookingHandlers', 'table' => 'booking_handlers', 'alias' => 'BookingHandlers', 'entityClass' => 'App\Model\Entity\BookingHandler', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } BookingHandlerEndpoints => object(App\Model\Table\BookingHandlerEndpointsTable) { 'registryAlias' => 'BookingHandlerEndpoints', 'table' => 'booking_handler_endpoints', 'alias' => 'BookingHandlerEndpoints', 'entityClass' => 'App\Model\Entity\BookingHandlerEndpoint', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } bookingHandler => null RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [ [maximum depth reached] ] } RoomTypes => object(App\Model\Table\RoomTypesTable) { 'registryAlias' => 'RoomTypes', 'table' => 'room_types', 'alias' => 'RoomTypes', 'entityClass' => 'App\Model\Entity\RoomType', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } ImageGalleries => object(Cake\ORM\Table) { 'registryAlias' => 'ImageGalleries', 'table' => 'image_galleries', 'alias' => 'ImageGalleries', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [[maximum depth reached]], 'behaviors' => [[maximum depth reached]], 'defaultConnection' => 'default', 'connectionName' => 'default' } MealPlans => object(App\Model\Table\MealPlansTable) { 'registryAlias' => 'MealPlans', 'table' => 'meal_plans', 'alias' => 'MealPlans', 'entityClass' => 'App\Model\Entity\MealPlan', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } Features => object(App\Model\Table\FeaturesTable) { 'registryAlias' => 'Features', 'table' => 'features', 'alias' => 'Features', 'entityClass' => 'App\Model\Entity\Feature', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } SelectedRooms => object(App\Model\Table\SelectedRoomsTable) { 'registryAlias' => 'SelectedRooms', 'table' => 'selected_rooms', 'alias' => 'SelectedRooms', 'entityClass' => 'App\Model\Entity\SelectedRoom', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } Logs => object(App\Model\Table\LogsTable) { 'registryAlias' => 'Logs', 'table' => 'logs', 'alias' => 'Logs', 'entityClass' => 'App\Model\Entity\Log', 'associations' => [[maximum depth reached]], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } BookingRoomSelections => object(App\Model\Table\BookingRoomSelectionsTable) { 'registryAlias' => 'BookingRoomSelections', 'table' => 'booking_room_selections', 'alias' => 'BookingRoomSelections', 'entityClass' => 'App\Model\Entity\BookingRoomSelection', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } PaymentGateways => object(App\Model\Table\PaymentGatewaysTable) { 'registryAlias' => 'PaymentGateways', 'table' => 'payment_gateways', 'alias' => 'PaymentGateways', 'entityClass' => 'App\Model\Entity\PaymentGateway', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } Countries => object(App\Model\Table\CountriesTable) { 'registryAlias' => 'Countries', 'table' => 'countries', 'alias' => 'Countries', 'entityClass' => 'App\Model\Entity\Country', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } [protected] name => 'Bookings' [protected] _responseClass => 'Cake\Http\Response' [protected] autoRender => true [protected] _components => object(Cake\Controller\ComponentRegistry) { '_Controller' => object(App\Controller\BookingsController) {}, '_loaded' => [ [maximum depth reached] ], '_eventManager' => object(Cake\Event\EventManager) {}, '_eventClass' => 'Cake\Event\Event' } [protected] _validViewOptions => [ (int) 0 => 'passedArgs' ] [protected] plugin => null [protected] _eventManager => object(Cake\Event\EventManager) { '_listeners' => [ [maximum depth reached] ], '_isGlobal' => false, '_trackEvents' => false, '_generalManager' => '(object) EventManager', '_dispatchedEvents' => null } [protected] _eventClass => 'Cake\Event\Event' [protected] _tableLocator => object(Cake\ORM\Locator\TableLocator) { [protected] _config => [[maximum depth reached]] [protected] _instances => [ [maximum depth reached] ] [protected] _fallbacked => [ [maximum depth reached] ] [protected] _options => [ [maximum depth reached] ] } [protected] _modelFactories => [ 'Table' => [ (int) 0 => object(Cake\ORM\Locator\TableLocator) {}, (int) 1 => 'get' ] ] [protected] _modelType => 'Table' [protected] _viewBuilder => null }
* @return \Psr\Http\Message\ResponseInterface |
|
*/ |
|
public function __invoke(ServerRequestInterface $request, ResponseInterface $response, $next) |
|
{ |
|
return $this->getDispatcher()->dispatch($request, $response); |
|
} |
|
|
|
/** |
|
* Get the ActionDispatcher. |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'pass' => [], 'controller' => 'Bookings', 'action' => 'index', 'plugin' => null, '_matchedRoute' => '/', '?' => [ 'check_in_date' => 'May Sun%2C2023', 'check_out_date' => 'May Mon%2C2023', 'mealPlan' => '1', 'nationality' => '2', 'adults' => '1', 'childs' => '0', 'noOfRooms' => '1' ], '_ext' => null ] [protected] data => [] [protected] query => [ 'check_in_date' => 'May Sun%2C2023', 'check_out_date' => 'May Mon%2C2023', 'mealPlan' => '1', 'nationality' => '2', 'adults' => '1', 'childs' => '0', 'noOfRooms' => '1' ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'gartonsb', 'HOME' => '/home/gartonsb', 'SCRIPT_NAME' => '/current/webroot/index.php', 'REQUEST_URI' => '/current/?check_in_date=May+Sun%252C2023&check_out_date=May+Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1', 'QUERY_STRING' => 'check_in_date=May+Sun%252C2023&check_out_date=May+Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'check_in_date=May+Sun%252C2023&check_out_date=May+Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1', 'REDIRECT_URL' => '/current/webroot/', 'REMOTE_PORT' => '32734', 'SCRIPT_FILENAME' => '/home/gartonsb/public_html/current/webroot/index.php', 'SERVER_ADMIN' => '[email protected]', 'CONTEXT_DOCUMENT_ROOT' => '/home/gartonsb/public_html', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/gartonsb/public_html', 'REMOTE_ADDR' => '172.70.135.155', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '45.77.174.105', 'SERVER_NAME' => 'bookings.gartonscape.com', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'HTTP_CF_IPCOUNTRY' => 'US', 'HTTP_CDN_LOOP' => 'cloudflare', 'HTTP_CF_CONNECTING_IP' => '18.209.209.28', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CF_VISITOR' => '{"scheme":"https"}', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_CF_RAY' => '86bc55f40df98f20-IAD', 'HTTP_X_FORWARDED_FOR' => '18.209.209.28', 'HTTP_ACCEPT_ENCODING' => 'gzip, br', 'HTTP_CONNECTION' => 'Keep-Alive', 'HTTP_HOST' => 'bookings.gartonscape.com', 'proxy-nokeepalive' => '1', 'SCRIPT_URI' => 'http://bookings.gartonscape.com/current/', 'SCRIPT_URL' => '/current/', 'HTTP_AUTHORIZATION' => '', 'UNIQUE_ID' => 'ZgYjklOyplkYkEDspSPO1AAAAAw', 'REDIRECT_STATUS' => '200', 'REDIRECT_SCRIPT_URI' => 'http://bookings.gartonscape.com/current/', 'REDIRECT_SCRIPT_URL' => '/current/', 'REDIRECT_HTTP_AUTHORIZATION' => '', 'REDIRECT_UNIQUE_ID' => 'ZgYjklOyplkYkEDspSPO1AAAAAw', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://bookings.gartonscape.com/current/', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/current/', 'REDIRECT_REDIRECT_HTTP_AUTHORIZATION' => '', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgYjklOyplkYkEDspSPO1AAAAAw', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/current/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711678354.973, 'REQUEST_TIME' => (int) 1711678354, 'argv' => [ (int) 0 => 'check_in_date=May', (int) 1 => 'Sun%252C2023&check_out_date=May', (int) 2 => 'Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1' ], 'argc' => (int) 3, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => '' [protected] base => '/current' [protected] webroot => '/current/' [protected] here => '/current/' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '/current' webroot => '/current/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'bookings.gartonscape.com' [private] port => null [private] path => '/' [private] query => 'check_in_date=May+Sun%252C2023&check_out_date=May+Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'pass' => [], 'controller' => 'Bookings', 'action' => 'index', 'plugin' => null, '_matchedRoute' => '/', '?' => [ 'check_in_date' => 'May Sun%2C2023', 'check_out_date' => 'May Mon%2C2023', 'mealPlan' => '1', 'nationality' => '2', 'adults' => '1', 'childs' => '0', 'noOfRooms' => '1' ], '_ext' => null ] [protected] data => [] [protected] query => [ 'check_in_date' => 'May Sun%2C2023', 'check_out_date' => 'May Mon%2C2023', 'mealPlan' => '1', 'nationality' => '2', 'adults' => '1', 'childs' => '0', 'noOfRooms' => '1' ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'gartonsb', 'HOME' => '/home/gartonsb', 'SCRIPT_NAME' => '/current/webroot/index.php', 'REQUEST_URI' => '/current/?check_in_date=May+Sun%252C2023&check_out_date=May+Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1', 'QUERY_STRING' => 'check_in_date=May+Sun%252C2023&check_out_date=May+Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'check_in_date=May+Sun%252C2023&check_out_date=May+Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1', 'REDIRECT_URL' => '/current/webroot/', 'REMOTE_PORT' => '32734', 'SCRIPT_FILENAME' => '/home/gartonsb/public_html/current/webroot/index.php', 'SERVER_ADMIN' => '[email protected]', 'CONTEXT_DOCUMENT_ROOT' => '/home/gartonsb/public_html', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/gartonsb/public_html', 'REMOTE_ADDR' => '172.70.135.155', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '45.77.174.105', 'SERVER_NAME' => 'bookings.gartonscape.com', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'HTTP_CF_IPCOUNTRY' => 'US', 'HTTP_CDN_LOOP' => 'cloudflare', 'HTTP_CF_CONNECTING_IP' => '18.209.209.28', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CF_VISITOR' => '{"scheme":"https"}', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_CF_RAY' => '86bc55f40df98f20-IAD', 'HTTP_X_FORWARDED_FOR' => '18.209.209.28', 'HTTP_ACCEPT_ENCODING' => 'gzip, br', 'HTTP_CONNECTION' => 'Keep-Alive', 'HTTP_HOST' => 'bookings.gartonscape.com', 'proxy-nokeepalive' => '1', 'SCRIPT_URI' => 'http://bookings.gartonscape.com/current/', 'SCRIPT_URL' => '/current/', 'HTTP_AUTHORIZATION' => '', 'UNIQUE_ID' => 'ZgYjklOyplkYkEDspSPO1AAAAAw', 'REDIRECT_STATUS' => '200', 'REDIRECT_SCRIPT_URI' => 'http://bookings.gartonscape.com/current/', 'REDIRECT_SCRIPT_URL' => '/current/', 'REDIRECT_HTTP_AUTHORIZATION' => '', 'REDIRECT_UNIQUE_ID' => 'ZgYjklOyplkYkEDspSPO1AAAAAw', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://bookings.gartonscape.com/current/', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/current/', 'REDIRECT_REDIRECT_HTTP_AUTHORIZATION' => '', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgYjklOyplkYkEDspSPO1AAAAAw', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/current/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711678354.973, 'REQUEST_TIME' => (int) 1711678354, 'argv' => [ (int) 0 => 'check_in_date=May', (int) 1 => 'Sun%252C2023&check_out_date=May', (int) 2 => 'Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1' ], 'argc' => (int) 3, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => '' [protected] base => '/current' [protected] webroot => '/current/' [protected] here => '/current/' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '/current' webroot => '/current/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'bookings.gartonscape.com' [private] port => null [private] path => '/' [private] query => 'check_in_date=May+Sun%252C2023&check_out_date=May+Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 4 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
); |
|
} |
|
$matching = Router::getRouteCollection()->getMiddleware($middleware); |
|
if (!$matching) { |
|
return $next($request, $response); |
|
} |
|
$matching[] = $next; |
|
$middleware = new MiddlewareQueue($matching); |
|
$runner = new Runner(); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'pass' => [], 'controller' => 'Bookings', 'action' => 'index', 'plugin' => null, '_matchedRoute' => '/', '?' => [ 'check_in_date' => 'May Sun%2C2023', 'check_out_date' => 'May Mon%2C2023', 'mealPlan' => '1', 'nationality' => '2', 'adults' => '1', 'childs' => '0', 'noOfRooms' => '1' ], '_ext' => null ] [protected] data => [] [protected] query => [ 'check_in_date' => 'May Sun%2C2023', 'check_out_date' => 'May Mon%2C2023', 'mealPlan' => '1', 'nationality' => '2', 'adults' => '1', 'childs' => '0', 'noOfRooms' => '1' ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'gartonsb', 'HOME' => '/home/gartonsb', 'SCRIPT_NAME' => '/current/webroot/index.php', 'REQUEST_URI' => '/current/?check_in_date=May+Sun%252C2023&check_out_date=May+Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1', 'QUERY_STRING' => 'check_in_date=May+Sun%252C2023&check_out_date=May+Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'check_in_date=May+Sun%252C2023&check_out_date=May+Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1', 'REDIRECT_URL' => '/current/webroot/', 'REMOTE_PORT' => '32734', 'SCRIPT_FILENAME' => '/home/gartonsb/public_html/current/webroot/index.php', 'SERVER_ADMIN' => '[email protected]', 'CONTEXT_DOCUMENT_ROOT' => '/home/gartonsb/public_html', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/gartonsb/public_html', 'REMOTE_ADDR' => '172.70.135.155', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '45.77.174.105', 'SERVER_NAME' => 'bookings.gartonscape.com', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'HTTP_CF_IPCOUNTRY' => 'US', 'HTTP_CDN_LOOP' => 'cloudflare', 'HTTP_CF_CONNECTING_IP' => '18.209.209.28', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CF_VISITOR' => '{"scheme":"https"}', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_CF_RAY' => '86bc55f40df98f20-IAD', 'HTTP_X_FORWARDED_FOR' => '18.209.209.28', 'HTTP_ACCEPT_ENCODING' => 'gzip, br', 'HTTP_CONNECTION' => 'Keep-Alive', 'HTTP_HOST' => 'bookings.gartonscape.com', 'proxy-nokeepalive' => '1', 'SCRIPT_URI' => 'http://bookings.gartonscape.com/current/', 'SCRIPT_URL' => '/current/', 'HTTP_AUTHORIZATION' => '', 'UNIQUE_ID' => 'ZgYjklOyplkYkEDspSPO1AAAAAw', 'REDIRECT_STATUS' => '200', 'REDIRECT_SCRIPT_URI' => 'http://bookings.gartonscape.com/current/', 'REDIRECT_SCRIPT_URL' => '/current/', 'REDIRECT_HTTP_AUTHORIZATION' => '', 'REDIRECT_UNIQUE_ID' => 'ZgYjklOyplkYkEDspSPO1AAAAAw', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://bookings.gartonscape.com/current/', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/current/', 'REDIRECT_REDIRECT_HTTP_AUTHORIZATION' => '', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgYjklOyplkYkEDspSPO1AAAAAw', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/current/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711678354.973, 'REQUEST_TIME' => (int) 1711678354, 'argv' => [ (int) 0 => 'check_in_date=May', (int) 1 => 'Sun%252C2023&check_out_date=May', (int) 2 => 'Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1' ], 'argc' => (int) 3, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => '' [protected] base => '/current' [protected] webroot => '/current/' [protected] here => '/current/' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '/current' webroot => '/current/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'bookings.gartonscape.com' [private] port => null [private] path => '/' [private] query => 'check_in_date=May+Sun%252C2023&check_out_date=May+Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'pass' => [], 'controller' => 'Bookings', 'action' => 'index', 'plugin' => null, '_matchedRoute' => '/', '?' => [ 'check_in_date' => 'May Sun%2C2023', 'check_out_date' => 'May Mon%2C2023', 'mealPlan' => '1', 'nationality' => '2', 'adults' => '1', 'childs' => '0', 'noOfRooms' => '1' ], '_ext' => null ] [protected] data => [] [protected] query => [ 'check_in_date' => 'May Sun%2C2023', 'check_out_date' => 'May Mon%2C2023', 'mealPlan' => '1', 'nationality' => '2', 'adults' => '1', 'childs' => '0', 'noOfRooms' => '1' ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'gartonsb', 'HOME' => '/home/gartonsb', 'SCRIPT_NAME' => '/current/webroot/index.php', 'REQUEST_URI' => '/current/?check_in_date=May+Sun%252C2023&check_out_date=May+Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1', 'QUERY_STRING' => 'check_in_date=May+Sun%252C2023&check_out_date=May+Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'check_in_date=May+Sun%252C2023&check_out_date=May+Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1', 'REDIRECT_URL' => '/current/webroot/', 'REMOTE_PORT' => '32734', 'SCRIPT_FILENAME' => '/home/gartonsb/public_html/current/webroot/index.php', 'SERVER_ADMIN' => '[email protected]', 'CONTEXT_DOCUMENT_ROOT' => '/home/gartonsb/public_html', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/gartonsb/public_html', 'REMOTE_ADDR' => '172.70.135.155', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '45.77.174.105', 'SERVER_NAME' => 'bookings.gartonscape.com', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'HTTP_CF_IPCOUNTRY' => 'US', 'HTTP_CDN_LOOP' => 'cloudflare', 'HTTP_CF_CONNECTING_IP' => '18.209.209.28', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CF_VISITOR' => '{"scheme":"https"}', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_CF_RAY' => '86bc55f40df98f20-IAD', 'HTTP_X_FORWARDED_FOR' => '18.209.209.28', 'HTTP_ACCEPT_ENCODING' => 'gzip, br', 'HTTP_CONNECTION' => 'Keep-Alive', 'HTTP_HOST' => 'bookings.gartonscape.com', 'proxy-nokeepalive' => '1', 'SCRIPT_URI' => 'http://bookings.gartonscape.com/current/', 'SCRIPT_URL' => '/current/', 'HTTP_AUTHORIZATION' => '', 'UNIQUE_ID' => 'ZgYjklOyplkYkEDspSPO1AAAAAw', 'REDIRECT_STATUS' => '200', 'REDIRECT_SCRIPT_URI' => 'http://bookings.gartonscape.com/current/', 'REDIRECT_SCRIPT_URL' => '/current/', 'REDIRECT_HTTP_AUTHORIZATION' => '', 'REDIRECT_UNIQUE_ID' => 'ZgYjklOyplkYkEDspSPO1AAAAAw', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://bookings.gartonscape.com/current/', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/current/', 'REDIRECT_REDIRECT_HTTP_AUTHORIZATION' => '', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgYjklOyplkYkEDspSPO1AAAAAw', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/current/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711678354.973, 'REQUEST_TIME' => (int) 1711678354, 'argv' => [ (int) 0 => 'check_in_date=May', (int) 1 => 'Sun%252C2023&check_out_date=May', (int) 2 => 'Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1' ], 'argc' => (int) 3, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => '' [protected] base => '/current' [protected] webroot => '/current/' [protected] here => '/current/' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '/current' webroot => '/current/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'bookings.gartonscape.com' [private] port => null [private] path => '/' [private] query => 'check_in_date=May+Sun%252C2023&check_out_date=May+Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 4 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
public function __invoke($request, $response, $next) |
|
{ |
|
$url = $request->getUri()->getPath(); |
|
if (strpos($url, '..') !== false || strpos($url, '.') === false) { |
|
return $next($request, $response); |
|
} |
|
|
|
if (strpos($url, '/.') !== false) { |
|
return $next($request, $response); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'check_in_date' => 'May Sun%2C2023', 'check_out_date' => 'May Mon%2C2023', 'mealPlan' => '1', 'nationality' => '2', 'adults' => '1', 'childs' => '0', 'noOfRooms' => '1' ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'gartonsb', 'HOME' => '/home/gartonsb', 'SCRIPT_NAME' => '/current/webroot/index.php', 'REQUEST_URI' => '/current/?check_in_date=May+Sun%252C2023&check_out_date=May+Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1', 'QUERY_STRING' => 'check_in_date=May+Sun%252C2023&check_out_date=May+Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'check_in_date=May+Sun%252C2023&check_out_date=May+Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1', 'REDIRECT_URL' => '/current/webroot/', 'REMOTE_PORT' => '32734', 'SCRIPT_FILENAME' => '/home/gartonsb/public_html/current/webroot/index.php', 'SERVER_ADMIN' => '[email protected]', 'CONTEXT_DOCUMENT_ROOT' => '/home/gartonsb/public_html', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/gartonsb/public_html', 'REMOTE_ADDR' => '172.70.135.155', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '45.77.174.105', 'SERVER_NAME' => 'bookings.gartonscape.com', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'HTTP_CF_IPCOUNTRY' => 'US', 'HTTP_CDN_LOOP' => 'cloudflare', 'HTTP_CF_CONNECTING_IP' => '18.209.209.28', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CF_VISITOR' => '{"scheme":"https"}', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_CF_RAY' => '86bc55f40df98f20-IAD', 'HTTP_X_FORWARDED_FOR' => '18.209.209.28', 'HTTP_ACCEPT_ENCODING' => 'gzip, br', 'HTTP_CONNECTION' => 'Keep-Alive', 'HTTP_HOST' => 'bookings.gartonscape.com', 'proxy-nokeepalive' => '1', 'SCRIPT_URI' => 'http://bookings.gartonscape.com/current/', 'SCRIPT_URL' => '/current/', 'HTTP_AUTHORIZATION' => '', 'UNIQUE_ID' => 'ZgYjklOyplkYkEDspSPO1AAAAAw', 'REDIRECT_STATUS' => '200', 'REDIRECT_SCRIPT_URI' => 'http://bookings.gartonscape.com/current/', 'REDIRECT_SCRIPT_URL' => '/current/', 'REDIRECT_HTTP_AUTHORIZATION' => '', 'REDIRECT_UNIQUE_ID' => 'ZgYjklOyplkYkEDspSPO1AAAAAw', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://bookings.gartonscape.com/current/', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/current/', 'REDIRECT_REDIRECT_HTTP_AUTHORIZATION' => '', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgYjklOyplkYkEDspSPO1AAAAAw', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/current/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711678354.973, 'REQUEST_TIME' => (int) 1711678354, 'argv' => [ (int) 0 => 'check_in_date=May', (int) 1 => 'Sun%252C2023&check_out_date=May', (int) 2 => 'Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1' ], 'argc' => (int) 3, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => '' [protected] base => '/current' [protected] webroot => '/current/' [protected] here => '/current/' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '/current' webroot => '/current/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'bookings.gartonscape.com' [private] port => null [private] path => '/' [private] query => 'check_in_date=May+Sun%252C2023&check_out_date=May+Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'check_in_date' => 'May Sun%2C2023', 'check_out_date' => 'May Mon%2C2023', 'mealPlan' => '1', 'nationality' => '2', 'adults' => '1', 'childs' => '0', 'noOfRooms' => '1' ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'gartonsb', 'HOME' => '/home/gartonsb', 'SCRIPT_NAME' => '/current/webroot/index.php', 'REQUEST_URI' => '/current/?check_in_date=May+Sun%252C2023&check_out_date=May+Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1', 'QUERY_STRING' => 'check_in_date=May+Sun%252C2023&check_out_date=May+Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'check_in_date=May+Sun%252C2023&check_out_date=May+Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1', 'REDIRECT_URL' => '/current/webroot/', 'REMOTE_PORT' => '32734', 'SCRIPT_FILENAME' => '/home/gartonsb/public_html/current/webroot/index.php', 'SERVER_ADMIN' => '[email protected]', 'CONTEXT_DOCUMENT_ROOT' => '/home/gartonsb/public_html', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/gartonsb/public_html', 'REMOTE_ADDR' => '172.70.135.155', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '45.77.174.105', 'SERVER_NAME' => 'bookings.gartonscape.com', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'HTTP_CF_IPCOUNTRY' => 'US', 'HTTP_CDN_LOOP' => 'cloudflare', 'HTTP_CF_CONNECTING_IP' => '18.209.209.28', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CF_VISITOR' => '{"scheme":"https"}', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_CF_RAY' => '86bc55f40df98f20-IAD', 'HTTP_X_FORWARDED_FOR' => '18.209.209.28', 'HTTP_ACCEPT_ENCODING' => 'gzip, br', 'HTTP_CONNECTION' => 'Keep-Alive', 'HTTP_HOST' => 'bookings.gartonscape.com', 'proxy-nokeepalive' => '1', 'SCRIPT_URI' => 'http://bookings.gartonscape.com/current/', 'SCRIPT_URL' => '/current/', 'HTTP_AUTHORIZATION' => '', 'UNIQUE_ID' => 'ZgYjklOyplkYkEDspSPO1AAAAAw', 'REDIRECT_STATUS' => '200', 'REDIRECT_SCRIPT_URI' => 'http://bookings.gartonscape.com/current/', 'REDIRECT_SCRIPT_URL' => '/current/', 'REDIRECT_HTTP_AUTHORIZATION' => '', 'REDIRECT_UNIQUE_ID' => 'ZgYjklOyplkYkEDspSPO1AAAAAw', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://bookings.gartonscape.com/current/', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/current/', 'REDIRECT_REDIRECT_HTTP_AUTHORIZATION' => '', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgYjklOyplkYkEDspSPO1AAAAAw', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/current/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711678354.973, 'REQUEST_TIME' => (int) 1711678354, 'argv' => [ (int) 0 => 'check_in_date=May', (int) 1 => 'Sun%252C2023&check_out_date=May', (int) 2 => 'Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1' ], 'argc' => (int) 3, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => '' [protected] base => '/current' [protected] webroot => '/current/' [protected] here => '/current/' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '/current' webroot => '/current/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'bookings.gartonscape.com' [private] port => null [private] path => '/' [private] query => 'check_in_date=May+Sun%252C2023&check_out_date=May+Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 4 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
*/ |
|
public function __invoke($request, $response, $next) |
|
{ |
|
try { |
|
return $next($request, $response); |
|
} catch (Throwable $exception) { |
|
return $this->handleException($exception, $request, $response); |
|
} catch (Exception $exception) { |
|
return $this->handleException($exception, $request, $response); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'check_in_date' => 'May Sun%2C2023', 'check_out_date' => 'May Mon%2C2023', 'mealPlan' => '1', 'nationality' => '2', 'adults' => '1', 'childs' => '0', 'noOfRooms' => '1' ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'gartonsb', 'HOME' => '/home/gartonsb', 'SCRIPT_NAME' => '/current/webroot/index.php', 'REQUEST_URI' => '/current/?check_in_date=May+Sun%252C2023&check_out_date=May+Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1', 'QUERY_STRING' => 'check_in_date=May+Sun%252C2023&check_out_date=May+Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'check_in_date=May+Sun%252C2023&check_out_date=May+Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1', 'REDIRECT_URL' => '/current/webroot/', 'REMOTE_PORT' => '32734', 'SCRIPT_FILENAME' => '/home/gartonsb/public_html/current/webroot/index.php', 'SERVER_ADMIN' => '[email protected]', 'CONTEXT_DOCUMENT_ROOT' => '/home/gartonsb/public_html', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/gartonsb/public_html', 'REMOTE_ADDR' => '172.70.135.155', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '45.77.174.105', 'SERVER_NAME' => 'bookings.gartonscape.com', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'HTTP_CF_IPCOUNTRY' => 'US', 'HTTP_CDN_LOOP' => 'cloudflare', 'HTTP_CF_CONNECTING_IP' => '18.209.209.28', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CF_VISITOR' => '{"scheme":"https"}', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_CF_RAY' => '86bc55f40df98f20-IAD', 'HTTP_X_FORWARDED_FOR' => '18.209.209.28', 'HTTP_ACCEPT_ENCODING' => 'gzip, br', 'HTTP_CONNECTION' => 'Keep-Alive', 'HTTP_HOST' => 'bookings.gartonscape.com', 'proxy-nokeepalive' => '1', 'SCRIPT_URI' => 'http://bookings.gartonscape.com/current/', 'SCRIPT_URL' => '/current/', 'HTTP_AUTHORIZATION' => '', 'UNIQUE_ID' => 'ZgYjklOyplkYkEDspSPO1AAAAAw', 'REDIRECT_STATUS' => '200', 'REDIRECT_SCRIPT_URI' => 'http://bookings.gartonscape.com/current/', 'REDIRECT_SCRIPT_URL' => '/current/', 'REDIRECT_HTTP_AUTHORIZATION' => '', 'REDIRECT_UNIQUE_ID' => 'ZgYjklOyplkYkEDspSPO1AAAAAw', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://bookings.gartonscape.com/current/', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/current/', 'REDIRECT_REDIRECT_HTTP_AUTHORIZATION' => '', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgYjklOyplkYkEDspSPO1AAAAAw', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/current/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711678354.973, 'REQUEST_TIME' => (int) 1711678354, 'argv' => [ (int) 0 => 'check_in_date=May', (int) 1 => 'Sun%252C2023&check_out_date=May', (int) 2 => 'Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1' ], 'argc' => (int) 3, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => '' [protected] base => '/current' [protected] webroot => '/current/' [protected] here => '/current/' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '/current' webroot => '/current/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'bookings.gartonscape.com' [private] port => null [private] path => '/' [private] query => 'check_in_date=May+Sun%252C2023&check_out_date=May+Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'check_in_date' => 'May Sun%2C2023', 'check_out_date' => 'May Mon%2C2023', 'mealPlan' => '1', 'nationality' => '2', 'adults' => '1', 'childs' => '0', 'noOfRooms' => '1' ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'gartonsb', 'HOME' => '/home/gartonsb', 'SCRIPT_NAME' => '/current/webroot/index.php', 'REQUEST_URI' => '/current/?check_in_date=May+Sun%252C2023&check_out_date=May+Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1', 'QUERY_STRING' => 'check_in_date=May+Sun%252C2023&check_out_date=May+Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'check_in_date=May+Sun%252C2023&check_out_date=May+Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1', 'REDIRECT_URL' => '/current/webroot/', 'REMOTE_PORT' => '32734', 'SCRIPT_FILENAME' => '/home/gartonsb/public_html/current/webroot/index.php', 'SERVER_ADMIN' => '[email protected]', 'CONTEXT_DOCUMENT_ROOT' => '/home/gartonsb/public_html', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/gartonsb/public_html', 'REMOTE_ADDR' => '172.70.135.155', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '45.77.174.105', 'SERVER_NAME' => 'bookings.gartonscape.com', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'HTTP_CF_IPCOUNTRY' => 'US', 'HTTP_CDN_LOOP' => 'cloudflare', 'HTTP_CF_CONNECTING_IP' => '18.209.209.28', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CF_VISITOR' => '{"scheme":"https"}', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_CF_RAY' => '86bc55f40df98f20-IAD', 'HTTP_X_FORWARDED_FOR' => '18.209.209.28', 'HTTP_ACCEPT_ENCODING' => 'gzip, br', 'HTTP_CONNECTION' => 'Keep-Alive', 'HTTP_HOST' => 'bookings.gartonscape.com', 'proxy-nokeepalive' => '1', 'SCRIPT_URI' => 'http://bookings.gartonscape.com/current/', 'SCRIPT_URL' => '/current/', 'HTTP_AUTHORIZATION' => '', 'UNIQUE_ID' => 'ZgYjklOyplkYkEDspSPO1AAAAAw', 'REDIRECT_STATUS' => '200', 'REDIRECT_SCRIPT_URI' => 'http://bookings.gartonscape.com/current/', 'REDIRECT_SCRIPT_URL' => '/current/', 'REDIRECT_HTTP_AUTHORIZATION' => '', 'REDIRECT_UNIQUE_ID' => 'ZgYjklOyplkYkEDspSPO1AAAAAw', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://bookings.gartonscape.com/current/', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/current/', 'REDIRECT_REDIRECT_HTTP_AUTHORIZATION' => '', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgYjklOyplkYkEDspSPO1AAAAAw', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/current/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711678354.973, 'REQUEST_TIME' => (int) 1711678354, 'argv' => [ (int) 0 => 'check_in_date=May', (int) 1 => 'Sun%252C2023&check_out_date=May', (int) 2 => 'Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1' ], 'argc' => (int) 3, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => '' [protected] base => '/current' [protected] webroot => '/current/' [protected] here => '/current/' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '/current' webroot => '/current/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'bookings.gartonscape.com' [private] port => null [private] path => '/' [private] query => 'check_in_date=May+Sun%252C2023&check_out_date=May+Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 4 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
{ |
|
$this->middleware = $middleware; |
|
$this->index = 0; |
|
|
|
return $this->__invoke($request, $response); |
|
} |
|
|
|
/** |
|
* @param \Psr\Http\Message\ServerRequestInterface $request The server request |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'check_in_date' => 'May Sun%2C2023', 'check_out_date' => 'May Mon%2C2023', 'mealPlan' => '1', 'nationality' => '2', 'adults' => '1', 'childs' => '0', 'noOfRooms' => '1' ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'gartonsb', 'HOME' => '/home/gartonsb', 'SCRIPT_NAME' => '/current/webroot/index.php', 'REQUEST_URI' => '/current/?check_in_date=May+Sun%252C2023&check_out_date=May+Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1', 'QUERY_STRING' => 'check_in_date=May+Sun%252C2023&check_out_date=May+Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'check_in_date=May+Sun%252C2023&check_out_date=May+Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1', 'REDIRECT_URL' => '/current/webroot/', 'REMOTE_PORT' => '32734', 'SCRIPT_FILENAME' => '/home/gartonsb/public_html/current/webroot/index.php', 'SERVER_ADMIN' => '[email protected]', 'CONTEXT_DOCUMENT_ROOT' => '/home/gartonsb/public_html', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/gartonsb/public_html', 'REMOTE_ADDR' => '172.70.135.155', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '45.77.174.105', 'SERVER_NAME' => 'bookings.gartonscape.com', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'HTTP_CF_IPCOUNTRY' => 'US', 'HTTP_CDN_LOOP' => 'cloudflare', 'HTTP_CF_CONNECTING_IP' => '18.209.209.28', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CF_VISITOR' => '{"scheme":"https"}', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_CF_RAY' => '86bc55f40df98f20-IAD', 'HTTP_X_FORWARDED_FOR' => '18.209.209.28', 'HTTP_ACCEPT_ENCODING' => 'gzip, br', 'HTTP_CONNECTION' => 'Keep-Alive', 'HTTP_HOST' => 'bookings.gartonscape.com', 'proxy-nokeepalive' => '1', 'SCRIPT_URI' => 'http://bookings.gartonscape.com/current/', 'SCRIPT_URL' => '/current/', 'HTTP_AUTHORIZATION' => '', 'UNIQUE_ID' => 'ZgYjklOyplkYkEDspSPO1AAAAAw', 'REDIRECT_STATUS' => '200', 'REDIRECT_SCRIPT_URI' => 'http://bookings.gartonscape.com/current/', 'REDIRECT_SCRIPT_URL' => '/current/', 'REDIRECT_HTTP_AUTHORIZATION' => '', 'REDIRECT_UNIQUE_ID' => 'ZgYjklOyplkYkEDspSPO1AAAAAw', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://bookings.gartonscape.com/current/', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/current/', 'REDIRECT_REDIRECT_HTTP_AUTHORIZATION' => '', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgYjklOyplkYkEDspSPO1AAAAAw', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/current/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711678354.973, 'REQUEST_TIME' => (int) 1711678354, 'argv' => [ (int) 0 => 'check_in_date=May', (int) 1 => 'Sun%252C2023&check_out_date=May', (int) 2 => 'Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1' ], 'argc' => (int) 3, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => '' [protected] base => '/current' [protected] webroot => '/current/' [protected] here => '/current/' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '/current' webroot => '/current/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'bookings.gartonscape.com' [private] port => null [private] path => '/' [private] query => 'check_in_date=May+Sun%252C2023&check_out_date=May+Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
} |
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]); |
|
$middleware->add($this->app); |
|
|
|
$response = $this->runner->run($middleware, $request, $response); |
|
|
|
if (!($response instanceof ResponseInterface)) { |
|
throw new RuntimeException(sprintf( |
|
'Application did not create a response. Got "%s" instead.', |
object(Cake\Http\MiddlewareQueue) { [protected] queue => [ (int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {}, (int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) {}, (int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) {}, (int) 3 => object(App\Application) {} ] [protected] callables => [ (int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {}, (int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) {}, (int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) {}, (int) 3 => object(App\Application) {} ] } object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'check_in_date' => 'May Sun%2C2023', 'check_out_date' => 'May Mon%2C2023', 'mealPlan' => '1', 'nationality' => '2', 'adults' => '1', 'childs' => '0', 'noOfRooms' => '1' ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'gartonsb', 'HOME' => '/home/gartonsb', 'SCRIPT_NAME' => '/current/webroot/index.php', 'REQUEST_URI' => '/current/?check_in_date=May+Sun%252C2023&check_out_date=May+Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1', 'QUERY_STRING' => 'check_in_date=May+Sun%252C2023&check_out_date=May+Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'check_in_date=May+Sun%252C2023&check_out_date=May+Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1', 'REDIRECT_URL' => '/current/webroot/', 'REMOTE_PORT' => '32734', 'SCRIPT_FILENAME' => '/home/gartonsb/public_html/current/webroot/index.php', 'SERVER_ADMIN' => '[email protected]', 'CONTEXT_DOCUMENT_ROOT' => '/home/gartonsb/public_html', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/home/gartonsb/public_html', 'REMOTE_ADDR' => '172.70.135.155', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '45.77.174.105', 'SERVER_NAME' => 'bookings.gartonscape.com', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'HTTP_CF_IPCOUNTRY' => 'US', 'HTTP_CDN_LOOP' => 'cloudflare', 'HTTP_CF_CONNECTING_IP' => '18.209.209.28', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CF_VISITOR' => '{"scheme":"https"}', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_CF_RAY' => '86bc55f40df98f20-IAD', 'HTTP_X_FORWARDED_FOR' => '18.209.209.28', 'HTTP_ACCEPT_ENCODING' => 'gzip, br', 'HTTP_CONNECTION' => 'Keep-Alive', 'HTTP_HOST' => 'bookings.gartonscape.com', 'proxy-nokeepalive' => '1', 'SCRIPT_URI' => 'http://bookings.gartonscape.com/current/', 'SCRIPT_URL' => '/current/', 'HTTP_AUTHORIZATION' => '', 'UNIQUE_ID' => 'ZgYjklOyplkYkEDspSPO1AAAAAw', 'REDIRECT_STATUS' => '200', 'REDIRECT_SCRIPT_URI' => 'http://bookings.gartonscape.com/current/', 'REDIRECT_SCRIPT_URL' => '/current/', 'REDIRECT_HTTP_AUTHORIZATION' => '', 'REDIRECT_UNIQUE_ID' => 'ZgYjklOyplkYkEDspSPO1AAAAAw', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'http://bookings.gartonscape.com/current/', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/current/', 'REDIRECT_REDIRECT_HTTP_AUTHORIZATION' => '', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgYjklOyplkYkEDspSPO1AAAAAw', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/current/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711678354.973, 'REQUEST_TIME' => (int) 1711678354, 'argv' => [ (int) 0 => 'check_in_date=May', (int) 1 => 'Sun%252C2023&check_out_date=May', (int) 2 => 'Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1' ], 'argc' => (int) 3, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => '' [protected] base => '/current' [protected] webroot => '/current/' [protected] here => '/current/' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '/current' webroot => '/current/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'bookings.gartonscape.com' [private] port => null [private] path => '/' [private] query => 'check_in_date=May+Sun%252C2023&check_out_date=May+Mon%252C2023&mealPlan=1&nationality=2&adults=1&childs=0&noOfRooms=1' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
// Bind your application to the server. |
|
$server = new Server(new Application(dirname(__DIR__) . '/config')); |
|
|
|
// Run the request/response through the application and emit the response. |
|
$server->emit($server->run()); |
|
|
No arguments
Some of the Table objects in your application were created by instantiating "Cake\ORM\Table" instead of any other specific subclass.
This could be the cause for this exception. Auto-Tables are created for you under the following circumstances:
Please try correcting the issue for the following table aliases:
If you want to customize this error message, create src/Template/Error/error500.ctp