ProductController :: calculateProductVariantPrice
Request
GET Parameters
None
POST Parameters
None
Uploaded Files
None
Request Attributes
| Key | Value |
|---|---|
| _api_platform_links | Symfony\Component\WebLink\GenericLinkProvider {#1822 -links: [ 1820 => Symfony\Component\WebLink\Link {#1820 -href: "https://mua.greendot.cz/api/docs.jsonld" -rel: [ "http://www.w3.org/ns/hydra/core#apiDocumentation" => "http://www.w3.org/ns/hydra/core#apiDocumentation" ] -attributes: [] } ] } |
| _controller | "App\Controller\Shop\ProductController::calculateProductVariantPrice" |
| _converters | [ Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter {#940 -name: "productVariant" -class: "App\Entity\Project\ProductVariant" -options: [ "id" => "productVariantId" ] -isOptional: false -converter: null } ] |
| _firewall_context | "security.firewall.map.context.main" |
| _route | "calculate_product_variant_price" |
| _route_params | [ "vatType" => "WithVAT" "discountType" => "WithoutDiscount" "productVariantId" => "321" ] |
| _security_firewall_run | "_security_main" |
| _stopwatch_token | "c65afe" |
| discountType | "WithoutDiscount" |
| productVariant | App\Entity\Project\ProductVariant {#1291 -id: 321 -name: "Národnostní otázka v Polsku a Československu v meziválečném období" -stock: 65 -externalId: null -product: Proxies\__CG__\App\Entity\Project\Product {#1346 …} -purchaseProductVariant: Doctrine\ORM\PersistentCollection {#1352 …} -colour: null -video: Doctrine\ORM\PersistentCollection {#1371 …} -availability: Proxies\__CG__\App\Entity\Project\Availability {#1217 …} -parameters: Doctrine\ORM\PersistentCollection {#1420 …} -productVariantUploadGroups: Doctrine\ORM\PersistentCollection {#1401 …} -price: Doctrine\ORM\PersistentCollection {#1476 …} -AvgRestockDays: null -upload: null -isActive: null -locale: null -productType: null } |
| productVariantId | "321" |
| vatType | "WithVAT" |
Request Headers
| Header | Value |
|---|---|
| accept | "application/json,text/plain,*/*" |
| accept-encoding | "gzip, deflate, br" |
| accept-language | "en-US" |
| connection | "keep-alive" |
| cookie | "PHPSESSID=24ra42fd21k04e0l548t4sfd8e" |
| from | "googlebot(at)googlebot.com" |
| host | "mua.greendot.cz" |
| referer | "https://mua.greendot.cz/en/publikace/narodnostni-otazka-v-polsku-a-ceskoslovensku-v-mezivalecnem-obdobi-p" |
| user-agent | "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.7258.127 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" |
| 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 | "application/json" |
| date | "Sun, 31 Aug 2025 14:57:22 GMT" |
| x-debug-token | "f1bc32" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "24ra42fd21k04e0l548t4sfd8e" |
Response Cookies
No response cookies
Session 4
Session Metadata
| Key | Value |
|---|---|
| Created | "Sun, 31 Aug 25 14:57:18 +0000" |
| Last used | "Sun, 31 Aug 25 14:57:22 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| _csrf/https-authenticate | "w2wqwA1Uey0Vzs6zZZ7Rc2mEaR172VIEXO6jW6YpH0Q" |
| selectedCurrency | App\Entity\Project\Currency {#902 -id: 1 -name: "Česká koruna" -symbol: "Kč" -conversionRate: 1.0 -rounding: 2 -isDefault: true } |
Session Usage
4
Usages
Stateless check enabled
| Usage |
|---|
App\EventSubscriber\BeforeControllerListener:56
[
[
"file" => "/var/projects/mua/src/EventSubscriber/BeforeControllerListener.php"
"line" => 56
"function" => "get"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/var/projects/mua/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
"line" => 116
"function" => "onKernelController"
"class" => "App\EventSubscriber\BeforeControllerListener"
"type" => "->"
]
[
"file" => "/var/projects/mua/vendor/symfony/event-dispatcher/EventDispatcher.php"
"line" => 206
"function" => "__invoke"
"class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
"type" => "->"
]
[
"file" => "/var/projects/mua/vendor/symfony/event-dispatcher/EventDispatcher.php"
"line" => 56
"function" => "callListeners"
"class" => "Symfony\Component\EventDispatcher\EventDispatcher"
"type" => "->"
]
[
"file" => "/var/projects/mua/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
"line" => 127
"function" => "dispatch"
"class" => "Symfony\Component\EventDispatcher\EventDispatcher"
"type" => "->"
]
[
"file" => "/var/projects/mua/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 151
"function" => "dispatch"
"class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
"type" => "->"
]
[
"file" => "/var/projects/mua/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 74
"function" => "handleRaw"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/projects/mua/vendor/symfony/http-kernel/Kernel.php"
"line" => 184
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/projects/mua/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
"line" => 35
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\Kernel"
"type" => "->"
]
[
"file" => "/var/projects/mua/vendor/autoload_runtime.php"
"line" => 29
"function" => "run"
"class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
"type" => "->"
]
[
"file" => "/var/projects/mua/public/index.php"
"line" => 5
"args" => [
"/var/projects/mua/vendor/autoload_runtime.php"
]
"function" => "require_once"
]
]
|
App\EventSubscriber\BeforeControllerListener:88
[
[
"file" => "/var/projects/mua/src/EventSubscriber/BeforeControllerListener.php"
"line" => 88
"function" => "get"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/var/projects/mua/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
"line" => 116
"function" => "onKernelController"
"class" => "App\EventSubscriber\BeforeControllerListener"
"type" => "->"
]
[
"file" => "/var/projects/mua/vendor/symfony/event-dispatcher/EventDispatcher.php"
"line" => 206
"function" => "__invoke"
"class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
"type" => "->"
]
[
"file" => "/var/projects/mua/vendor/symfony/event-dispatcher/EventDispatcher.php"
"line" => 56
"function" => "callListeners"
"class" => "Symfony\Component\EventDispatcher\EventDispatcher"
"type" => "->"
]
[
"file" => "/var/projects/mua/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
"line" => 127
"function" => "dispatch"
"class" => "Symfony\Component\EventDispatcher\EventDispatcher"
"type" => "->"
]
[
"file" => "/var/projects/mua/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 151
"function" => "dispatch"
"class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
"type" => "->"
]
[
"file" => "/var/projects/mua/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 74
"function" => "handleRaw"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/projects/mua/vendor/symfony/http-kernel/Kernel.php"
"line" => 184
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/projects/mua/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
"line" => 35
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\Kernel"
"type" => "->"
]
[
"file" => "/var/projects/mua/vendor/autoload_runtime.php"
"line" => 29
"function" => "run"
"class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
"type" => "->"
]
[
"file" => "/var/projects/mua/public/index.php"
"line" => 5
"args" => [
"/var/projects/mua/vendor/autoload_runtime.php"
]
"function" => "require_once"
]
]
|
App\Controller\Shop\ProductController:239
[
[
"file" => "/var/projects/mua/src/Controller/Shop/ProductController.php"
"line" => 239
"function" => "get"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/var/projects/mua/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 163
"function" => "calculateProductVariantPrice"
"class" => "App\Controller\Shop\ProductController"
"type" => "->"
]
[
"file" => "/var/projects/mua/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 74
"function" => "handleRaw"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/projects/mua/vendor/symfony/http-kernel/Kernel.php"
"line" => 184
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/projects/mua/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
"line" => 35
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\Kernel"
"type" => "->"
]
[
"file" => "/var/projects/mua/vendor/autoload_runtime.php"
"line" => 29
"function" => "run"
"class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
"type" => "->"
]
[
"file" => "/var/projects/mua/public/index.php"
"line" => 5
"args" => [
"/var/projects/mua/vendor/autoload_runtime.php"
]
"function" => "require_once"
]
]
|
Symfony\Component\Security\Http\Firewall\ContextListener:171
[
[
"file" => "/var/projects/mua/vendor/symfony/security-http/Firewall/ContextListener.php"
"line" => 171
"function" => "remove"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/var/projects/mua/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
"line" => 116
"function" => "onKernelResponse"
"class" => "Symfony\Component\Security\Http\Firewall\ContextListener"
"type" => "->"
]
[
"file" => "/var/projects/mua/vendor/symfony/event-dispatcher/EventDispatcher.php"
"line" => 206
"function" => "__invoke"
"class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
"type" => "->"
]
[
"file" => "/var/projects/mua/vendor/symfony/event-dispatcher/EventDispatcher.php"
"line" => 56
"function" => "callListeners"
"class" => "Symfony\Component\EventDispatcher\EventDispatcher"
"type" => "->"
]
[
"file" => "/var/projects/mua/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
"line" => 127
"function" => "dispatch"
"class" => "Symfony\Component\EventDispatcher\EventDispatcher"
"type" => "->"
]
[
"file" => "/var/projects/mua/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 196
"function" => "dispatch"
"class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
"type" => "->"
]
[
"file" => "/var/projects/mua/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 184
"function" => "filterResponse"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/projects/mua/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 74
"function" => "handleRaw"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/projects/mua/vendor/symfony/http-kernel/Kernel.php"
"line" => 184
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/projects/mua/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
"line" => 35
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\Kernel"
"type" => "->"
]
[
"file" => "/var/projects/mua/vendor/autoload_runtime.php"
"line" => 29
"function" => "run"
"class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
"type" => "->"
]
[
"file" => "/var/projects/mua/public/index.php"
"line" => 5
"args" => [
"/var/projects/mua/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 | "3bef66df610d3dd0623606c719433207" |
| CORS_ALLOW_ORIGIN | "^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$" |
| DATABASE_URL | "mysql://greendot:NecumV@localhost:3306/mua" |
"web@mua.cas.cz" |
|
| MAILER_DSN | "smtp://web@mua.cas.cz:Zuy11208@smtp.office365.com:587?encryption=STARTTLS&verify_peer=0" |
| MESSENGER_TRANSPORT_DSN | "doctrine://default?auto_setup=1" |
| PACKETA_API_KEY | "0101304795bb7a64fcf06cef55e5895e" |
Defined as regular env variables
| Key | Value |
|---|---|
| APP_DEBUG | "1" |
| CONTEXT_DOCUMENT_ROOT | "/var/projects/mua/public" |
| CONTEXT_PREFIX | "" |
| DOCUMENT_ROOT | "/var/projects/mua/public" |
| FCGI_ROLE | "RESPONDER" |
| GATEWAY_INTERFACE | "CGI/1.1" |
| HOME | "/var/www" |
| HTTPS | "on" |
| HTTP_ACCEPT | "application/json,text/plain,*/*" |
| HTTP_ACCEPT_ENCODING | "gzip, deflate, br" |
| HTTP_ACCEPT_LANGUAGE | "en-US" |
| HTTP_CONNECTION | "keep-alive" |
| HTTP_COOKIE | "PHPSESSID=24ra42fd21k04e0l548t4sfd8e" |
| HTTP_FROM | "googlebot(at)googlebot.com" |
| HTTP_HOST | "mua.greendot.cz" |
| HTTP_REFERER | "https://mua.greendot.cz/en/publikace/narodnostni-otazka-v-polsku-a-ceskoslovensku-v-mezivalecnem-obdobi-p" |
| HTTP_USER_AGENT | "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.7258.127 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" |
| PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" |
| PHP_SELF | "/index.php" |
| QUERY_STRING | "" |
| REDIRECT_HTTPS | "on" |
| REDIRECT_SSL_TLS_SNI | "mua.greendot.cz" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/shop/api/product-variant-price-WithVAT-WithoutDiscount-321" |
| REMOTE_ADDR | "66.249.64.162" |
| REMOTE_PORT | "55353" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1756652242 |
| REQUEST_TIME_FLOAT | 1756652242.7269 |
| REQUEST_URI | "/shop/api/product-variant-price-WithVAT-WithoutDiscount-321" |
| SCRIPT_FILENAME | "/var/projects/mua/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SERVER_ADDR | "190.2.155.146" |
| SERVER_ADMIN | "[no address given]" |
| SERVER_NAME | "mua.greendot.cz" |
| SERVER_PORT | "443" |
| SERVER_PROTOCOL | "HTTP/1.1" |
| SERVER_SIGNATURE | "" |
| SERVER_SOFTWARE | "Apache" |
| SSL_TLS_SNI | "mua.greendot.cz" |
| SYMFONY_DOTENV_VARS | "APP_ENV,APP_SECRET,MAILER_DSN,DATABASE_URL,CORS_ALLOW_ORIGIN,EMAIL,PACKETA_API_KEY,MESSENGER_TRANSPORT_DSN" |
| USER | "www-data" |
| proxy-nokeepalive | "1" |