BookingController :: booking

Request

GET Parameters

Key Value
b_hash
"h-7e57e2d9-8253-5185-81ac-01184a8ecbee"
p_id
"0ea3de79-dd5d-4cf7-967c-9bdf5fc5444f"
search
[
  "location" => "2042"
  "guests" => [
    [
      "adults" => "2"
      "children" => [
        "NaN"
      ]
    ]
  ]
  "currency" => "RUB"
  "language" => "ru"
  "checkin" => "2025-07-13"
  "checkout" => "2025-07-14"
  "residency" => "ru"
]

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"App\Controller\BookingController::booking"
_firewall_context
"security.firewall.map.context.main"
_locale
"ru"
_remove_csp_headers
true
_route
"booking"
_route_params
[
  "_locale" => "ru"
]
_security_firewall_run
"_security_main"
_stopwatch_token
"f98a63"

Request Headers

Header Value
accept
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
accept-encoding
"gzip, deflate"
accept-language
"ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7"
cookie
"PHPSESSID=6t5ieb67a1gkqobn9m4qen8cn0"
host
"sunscape.ru"
referer
"http://sunscape.ru/detail/ru/hotel_glinz_hotel_by_ginza_project?0%5Bsearch%5D%5Blocation%5D=2042&0%5Bsearch%5D%5Bguests%5D%5B0%5D%5Badults%5D=2&0%5Bsearch%5D%5Bguests%5D%5B0%5D%5Bchildren%5D%5B0%5D=NaN&0%5Bsearch%5D%5Bcurrency%5D=RUB&0%5Bsearch%5D%5Blanguage%5D=ru&0%5Bsearch%5D%5Bcheckin%5D=2025-07-13&0%5Bsearch%5D%5Bcheckout%5D=2025-07-14&0%5Bsearch%5D%5Bresidency%5D=ru"
user-agent
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4; rv:57.0.1) Gecko/20100101 Firefox/57.0.1"
x-php-ob-level
"1"

Request Content

Request content not available (it was retrieved as a resource).

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"text/html; charset=UTF-8"
date
"Sat, 12 Jul 2025 04:11:16 GMT"
x-debug-exception
"Warning%3A%20Undefined%20array%20key%20%22room_groups%22"
x-debug-exception-file
"%2Fvar%2Fwww%2Fweb%2Fsrc%2FService%2FBookingService.php:122"
x-debug-token
"08a1c4"
x-previous-debug-token
"e59f74"
x-robots-tag
"noindex"

Cookies

Request Cookies

Key Value
PHPSESSID
"6t5ieb67a1gkqobn9m4qen8cn0"

Response Cookies

No response cookies

Session 3

Session Metadata

Key Value
Created
"Sat, 12 Jul 25 04:11:05 +0000"
Last used
"Sat, 12 Jul 25 04:11:15 +0000"
Lifetime
0

Session Attributes

Attribute Value
_csrf/authenticate
"_XdiNA_RGw0D_y2c5XYUA7dpvNDxN2Cwas2_NTkpcJM"
_csrf/registration_form
"Ti5pVsFLE5ClwFX0UEPOMGX3r3ADgG9nB0IPsK7zROY"
back_url
"/detail/en/hotel_glinz_hotel_by_ginza_project?search%5Blocation%5D=2042&search%5Bguests%5D%5B0%5D%5Badults%5D=2&search%5Bguests%5D%5B0%5D%5Bchildren%5D%5B0%5D=NaN&search%5Bcurrency%5D=RUB&search%5Blanguage%5D=ru&search%5Bcheckin%5D=2025-07-13&search%5Bcheckout%5D=2025-07-14&search%5Bresidency%5D=ru&roomsCount=1&guestsCount=2&days=1"
hotel
"a:0:{}"

Session Usage

3 Usages
Stateless check enabled
Usage
App\Controller\BookingController:56
[
  [
    "file" => "/var/www/web/src/Controller/BookingController.php"
    "line" => 56
    "function" => "has"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/var/www/web/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 163
    "function" => "booking"
    "class" => "App\Controller\BookingController"
    "type" => "->"
  ]
  [
    "file" => "/var/www/web/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 75
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/web/vendor/symfony/http-kernel/Kernel.php"
    "line" => 202
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/web/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 35
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/web/vendor/autoload_runtime.php"
    "line" => 29
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/var/www/web/public/index.php"
    "line" => 8
    "args" => [
      "/var/www/web/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]
App\Service\BookingService:138
[
  [
    "file" => "/var/www/web/src/Service/BookingService.php"
    "line" => 138
    "function" => "get"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/var/www/web/src/Controller/BookingController.php"
    "line" => 59
    "function" => "hotelStartData"
    "class" => "App\Service\BookingService"
    "type" => "->"
  ]
  [
    "file" => "/var/www/web/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 163
    "function" => "booking"
    "class" => "App\Controller\BookingController"
    "type" => "->"
  ]
  [
    "file" => "/var/www/web/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 75
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/web/vendor/symfony/http-kernel/Kernel.php"
    "line" => 202
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/web/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 35
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/web/vendor/autoload_runtime.php"
    "line" => 29
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/var/www/web/public/index.php"
    "line" => 8
    "args" => [
      "/var/www/web/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]
Symfony\Component\Security\Http\Firewall\ContextListener:174
[
  [
    "file" => "/var/www/web/vendor/symfony/security-http/Firewall/ContextListener.php"
    "line" => 174
    "function" => "remove"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/var/www/web/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 115
    "function" => "onKernelResponse"
    "class" => "Symfony\Component\Security\Http\Firewall\ContextListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/web/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 230
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/web/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 59
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/web/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 153
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/web/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 196
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/web/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 249
    "function" => "filterResponse"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/web/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 86
    "function" => "handleThrowable"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/web/vendor/symfony/http-kernel/Kernel.php"
    "line" => 202
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/web/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 35
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/web/vendor/autoload_runtime.php"
    "line" => 29
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/var/www/web/public/index.php"
    "line" => 8
    "args" => [
      "/var/www/web/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_ENV
"dev"
APP_SECRET
"48719297131865e9226f68d4208d3611"
CHILDREN_AGE
"17"
CHILDREN_COUNT
"4"
DATABASE_URL
"postgresql://postgres:ad23er79U@127.0.0.1:5432/hotelTest?serverVersion=14&charset=utf8"
DEFAULT_LOCALE
"ru"
HOTELS_DATA_DUMP_URL
"https://api.worldota.net/api/b2b/v3/hotel/info/dump/"
HOTELS_INCREMENTAL_DUMP_URL
"https://api.worldota.net/api/b2b/v3/hotel/info/incremental_dump/"
HOTELS_REGION_DUMP_URL
"https://api.worldota.net/api/b2b/v3/hotel/region/dump/"
HOTELS_REVIEWS_DUMP_URL
"https://api.worldota.net/api/b2b/v3/hotel/reviews/dump/"
HOTEL_DATA_SEARCH_URL
"https://api.worldota.net/api/b2b/v3/hotel/info/"
HOTEL_DATA_STATIC_URL
"https://api.worldota.net/api/b2b/v3/hotel/static/"
HOTEL_PAGE_SEARCH_URL
"https://api.worldota.net/api/b2b/v3/search/hp/"
HOTEL_REGION_SEARCH_URL
"https://api.worldota.net/api/b2b/v3/search/serp/region/"
HOTEL_REVIEWS_URL
"https://api.worldota.net/api/b2b/v3/hotel/reviews/dump/"
LOCALES
"-ru-en"
MAILER_DSN
"smtp://info@sunscape.ru:Q1as2cv3df4!@mail.sunscape.ru:587"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"
MONGODB_DB
"hoteldb"
MONGODB_URL
"mongodb://localhost:27017/"
ROOMS_COUNT
"9"
WKHTMLTOIMAGE_PATH
"/usr/bin/wkhtmltoimage"
WKHTMLTOPDF_PATH
"/usr/bin/wkhtmltopdf"
ZSTD_PASSWORD
"cb993f81-2bc8-4295-9dc6-d78336c7df81"
ZSTD_USER
"5796"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTEXT_DOCUMENT_ROOT
"/var/www/web/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/web/public"
GATEWAY_INTERFACE
"CGI/1.1"
HTTP_ACCEPT
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
HTTP_ACCEPT_ENCODING
"gzip, deflate"
HTTP_ACCEPT_LANGUAGE
"ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7"
HTTP_COOKIE
"PHPSESSID=6t5ieb67a1gkqobn9m4qen8cn0"
HTTP_HOST
"sunscape.ru"
HTTP_REFERER
"http://sunscape.ru/detail/ru/hotel_glinz_hotel_by_ginza_project?0%5Bsearch%5D%5Blocation%5D=2042&0%5Bsearch%5D%5Bguests%5D%5B0%5D%5Badults%5D=2&0%5Bsearch%5D%5Bguests%5D%5B0%5D%5Bchildren%5D%5B0%5D=NaN&0%5Bsearch%5D%5Bcurrency%5D=RUB&0%5Bsearch%5D%5Blanguage%5D=ru&0%5Bsearch%5D%5Bcheckin%5D=2025-07-13&0%5Bsearch%5D%5Bcheckout%5D=2025-07-14&0%5Bsearch%5D%5Bresidency%5D=ru"
HTTP_USER_AGENT
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4; rv:57.0.1) Gecko/20100101 Firefox/57.0.1"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
PHP_SELF
"/index.php"
QUERY_STRING
"search%5Blocation%5D=2042&search%5Bguests%5D%5B0%5D%5Badults%5D=2&search%5Bguests%5D%5B0%5D%5Bchildren%5D%5B0%5D=NaN&search%5Bcurrency%5D=RUB&search%5Blanguage%5D=ru&search%5Bcheckin%5D=2025-07-13&search%5Bcheckout%5D=2025-07-14&search%5Bresidency%5D=ru&b_hash=h-7e57e2d9-8253-5185-81ac-01184a8ecbee&p_id=0ea3de79-dd5d-4cf7-967c-9bdf5fc5444f"
REDIRECT_QUERY_STRING
"search%5Blocation%5D=2042&search%5Bguests%5D%5B0%5D%5Badults%5D=2&search%5Bguests%5D%5B0%5D%5Bchildren%5D%5B0%5D=NaN&search%5Bcurrency%5D=RUB&search%5Blanguage%5D=ru&search%5Bcheckin%5D=2025-07-13&search%5Bcheckout%5D=2025-07-14&search%5Bresidency%5D=ru&b_hash=h-7e57e2d9-8253-5185-81ac-01184a8ecbee&p_id=0ea3de79-dd5d-4cf7-967c-9bdf5fc5444f"
REDIRECT_STATUS
"200"
REDIRECT_URL
"/booking/ru"
REMOTE_ADDR
"45.89.102.33"
REMOTE_PORT
"33285"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"http"
REQUEST_TIME
1752293476
REQUEST_TIME_FLOAT
1752293476.0931
REQUEST_URI
"/booking/ru?search%5Blocation%5D=2042&search%5Bguests%5D%5B0%5D%5Badults%5D=2&search%5Bguests%5D%5B0%5D%5Bchildren%5D%5B0%5D=NaN&search%5Bcurrency%5D=RUB&search%5Blanguage%5D=ru&search%5Bcheckin%5D=2025-07-13&search%5Bcheckout%5D=2025-07-14&search%5Bresidency%5D=ru&b_hash=h-7e57e2d9-8253-5185-81ac-01184a8ecbee&p_id=0ea3de79-dd5d-4cf7-967c-9bdf5fc5444f"
SCRIPT_FILENAME
"/var/www/web/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"62.113.106.32"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"sunscape.ru"
SERVER_PORT
"80"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
"<address>Apache/2.4.62 (Debian) Server at sunscape.ru Port 80</address>\n"
SERVER_SOFTWARE
"Apache/2.4.62 (Debian)"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,MESSENGER_TRANSPORT_DSN,DATABASE_URL,MONGODB_URL,MONGODB_DB,MAILER_DSN,ZSTD_USER,ZSTD_PASSWORD,HOTELS_DATA_DUMP_URL,HOTELS_INCREMENTAL_DUMP_URL,HOTELS_REVIEWS_DUMP_URL,HOTELS_REGION_DUMP_URL,HOTEL_DATA_SEARCH_URL,HOTEL_PAGE_SEARCH_URL,HOTEL_REVIEWS_URL,HOTEL_REGION_SEARCH_URL,HOTEL_DATA_STATIC_URL,WKHTMLTOPDF_PATH,WKHTMLTOIMAGE_PATH,LOCALES,DEFAULT_LOCALE,ROOMS_COUNT,CHILDREN_COUNT,CHILDREN_AGE"

Sub Requests 1

ErrorController (token = e59f74)

Key Value
_controller
"error_controller"
_stopwatch_token
"92d744"
exception
ErrorException {#149
  #message: "Warning: Undefined array key "room_groups""
  #code: 0
  #file: "/var/www/web/src/Service/BookingService.php"
  #line: 122
  #severity: E_WARNING
  trace: {
    /var/www/web/src/Service/BookingService.php:122 {
      App\Service\BookingService->getRateBy($hotel, $book_hash) …
      › $currentRate = [];\r$room_groups = $hotel["room_groups"];\rforeach ($room_groups as $room_group){\r
    }
    /var/www/web/src/Service/BookingService.php:140 {
      App\Service\BookingService->hotelStartData() …
      › $params = $this->getParams();\r$currentRate = $this->getRateBy($hotelData, $params["b_hash"]);\r$params["hotel"]["check_in_time"] = $hotelData["check_in_time"];\r
    }
    /var/www/web/src/Controller/BookingController.php:59 {
      App\Controller\BookingController->booking(Request $request, IHotels $hotelsService, OrderInterface $orderService, LoggerInterface $zstLogger, BookingsInterface $bookingsService) …
      › } else {\r    $params = $bookingsService->hotelStartData();\r}\r
    }
    /var/www/web/vendor/symfony/http-kernel/HttpKernel.php:163 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › // call controller$response = $controller(...$arguments);}
    /var/www/web/vendor/symfony/http-kernel/HttpKernel.php:75 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
      › try {    return $this->handleRaw($request, $type);} catch (\Exception $e) {
    }
    /var/www/web/vendor/symfony/http-kernel/Kernel.php:202 {
      Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
      › try {    return $this->getHttpKernel()->handle($request, $type, $catch);} finally {
    }
    /var/www/web/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);    $response->send();
    }
    /var/www/web/vendor/autoload_runtime.php:29 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /var/www/web/public/index.php:8 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/var/www/web/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#58 …9}