CartController :: addAction
Request
GET Parameters
Key | Value |
---|---|
id | "4856" |
POST Parameters
No POST parameters
Uploaded Files
No files were uploaded
Request Attributes
Key | Value |
---|---|
_controller | "Svarlen\AppBundle\Controller\CartController::addAction" |
_firewall_context | "security.firewall.map.context.submarine" |
_route | "cart_add" |
_route_params | [] |
_security_firewall_run | "_security_submarine" |
_stopwatch_token | "e14505" |
Request Headers
Header | Value |
---|---|
accept | "*/*" |
accept-encoding | "gzip, br, deflate" |
cookie | "PHPSESSID=p0m2kgp49ueu64c3b2f9u47ba2" |
from | "gptbot(at)openai.com" |
host | "www.svarlen.ru" |
user-agent | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.2; +https://openai.com/gptbot)" |
x-openai-host-hash | "680458935" |
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, 24 May 2025 09:10:06 GMT" |
location | "/cart" |
x-debug-token | "9aed9d" |
Cookies
Request Cookies
Key | Value |
---|---|
PHPSESSID | "p0m2kgp49ueu64c3b2f9u47ba2" |
Response Cookies
No response cookies
Session 4
Session Metadata
Key | Value |
---|---|
Created | "Sat, 24 May 25 12:06:11 +0300" |
Last used | "Sat, 24 May 25 12:10:03 +0300" |
Lifetime | 0 |
Session Attributes
Attribute | Value |
---|---|
_csrf/order_form | "UNjsVXiVcaKcj2ry8bMERQ5zVqQYXFEWXqVI585cD0w" |
_csrf/quick_order_form | "kUBukrFC-rhg9pOw4W-Ia7PF4csMDSqZBey9wbQKPlg" |
submarine_cart_session | Submarine\CartBundle\Entity\Cart {#569 -items: Doctrine\Common\Collections\ArrayCollection {#568 …} -description: null -createdAt: DateTime @1748077727 {#444 : 2025-05-24 12:08:47.285936 Europe/Minsk (+03:00) } -updatedAt: DateTime @1748077727 {#443 : 2025-05-24 12:08:47.285937 Europe/Minsk (+03:00) } -expiredAt: DateTime @1750756127 {#442 : 2025-06-24 12:08:47.285938 Europe/Minsk (+03:00) } -total: 379931.5 -totalDiscount: 0.0 -countQuantity: 42.0 } |
svarlen_recent_view | [ 6450 => Svarlen\AppBundle\View\ProductView {#673 -id: 6450 -title: "Дизельная тепловая пушка FoxWeld FoxHeat DD 50" -description: null -image: "media/pages/bab0f749eb/1.webp" -imageAlt: null -imageTitle: null -price: "41 421" -oldPrice: "0" -discount: "0" -bestseller: false -freeDelivery: false -unitForPrice: "" -availability: null -url: "/dopolnitelnoe-oborudovanie/teplovaya-pushka/dizelnaya-teplovaya-pushka-foxweld-foxheat-dd-50" -listTitle: null } 6448 => Svarlen\AppBundle\View\ProductView {#571 -id: 6448 -title: "Дизельная тепловая пушка FoxWeld FoxHeat DD 70" -description: null -image: "media/pages/79dbcf34b4/1.webp" -imageAlt: null -imageTitle: null -price: "85 632" -oldPrice: "0" -discount: "0" -bestseller: false -freeDelivery: false -unitForPrice: "" -availability: null -url: "/dopolnitelnoe-oborudovanie/teplovaya-pushka/dizelnaya-teplovaya-pushka-foxweld-foxheat-dd-70" -listTitle: null } 6455 => Svarlen\AppBundle\View\ProductView {#570 -id: 6455 -title: "Газовая тепловая пушка FoxWeld FoxHeat P 18" -description: null -image: "media/pages/6fbb7d79c8/1.webp" -imageAlt: null -imageTitle: null -price: "8 912" -oldPrice: "0" -discount: "0" -bestseller: false -freeDelivery: false -unitForPrice: "" -availability: null -url: "/dopolnitelnoe-oborudovanie/teplovaya-pushka/gazovaya-teplovaya-pushka-foxweld-foxheat-p-18" -listTitle: null } ] |
Session Usage
4
Usages
Stateless check enabled
Usage |
---|
Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage:41
[ [ "file" => "/home/web/projects/uat.svarlen.ru/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php" "line" => 41 "function" => "getMetadataBag" "class" => "Symfony\Component\HttpFoundation\Session\Session" "type" => "->" ] [ "file" => "/home/web/projects/uat.svarlen.ru/vendor/symfony/security-http/Authenticator/RememberMeAuthenticator.php" "line" => 69 "function" => "getToken" "class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage" "type" => "->" ] [ "file" => "/home/web/projects/uat.svarlen.ru/vendor/symfony/security-http/Authentication/AuthenticatorManager.php" "line" => 111 "function" => "supports" "class" => "Symfony\Component\Security\Http\Authenticator\RememberMeAuthenticator" "type" => "->" ] [ "file" => "/home/web/projects/uat.svarlen.ru/vendor/symfony/security-http/Firewall/AuthenticatorManagerListener.php" "line" => 34 "function" => "supports" "class" => "Symfony\Component\Security\Http\Authentication\AuthenticatorManager" "type" => "->" ] [ "file" => "/home/web/projects/uat.svarlen.ru/vendor/symfony/security-http/Authenticator/Debug/TraceableAuthenticatorManagerListener.php" "line" => 40 "function" => "supports" "class" => "Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener" "type" => "->" ] [ "file" => "/home/web/projects/uat.svarlen.ru/vendor/symfony/security-bundle/Debug/WrappedLazyListener.php" "line" => 38 "function" => "supports" "class" => "Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticatorManagerListener" "type" => "->" ] [ "file" => "/home/web/projects/uat.svarlen.ru/vendor/symfony/security-http/Firewall/AbstractListener.php" "line" => 25 "function" => "supports" "class" => "Symfony\Bundle\SecurityBundle\Debug\WrappedLazyListener" "type" => "->" ] [ "file" => "/home/web/projects/uat.svarlen.ru/vendor/symfony/security-bundle/Debug/TraceableFirewallListener.php" "line" => 83 "function" => "__invoke" "class" => "Symfony\Component\Security\Http\Firewall\AbstractListener" "type" => "->" ] [ "file" => "/home/web/projects/uat.svarlen.ru/vendor/symfony/security-http/Firewall.php" "line" => 95 "function" => "callListeners" "class" => "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener" "type" => "->" ] [ "file" => "/home/web/projects/uat.svarlen.ru/vendor/symfony/event-dispatcher/Debug/WrappedListener.php" "line" => 116 "function" => "onKernelRequest" "class" => "Symfony\Component\Security\Http\Firewall" "type" => "->" ] [ "file" => "/home/web/projects/uat.svarlen.ru/vendor/symfony/event-dispatcher/EventDispatcher.php" "line" => 220 "function" => "__invoke" "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener" "type" => "->" ] [ "file" => "/home/web/projects/uat.svarlen.ru/vendor/symfony/event-dispatcher/EventDispatcher.php" "line" => 56 "function" => "callListeners" "class" => "Symfony\Component\EventDispatcher\EventDispatcher" "type" => "->" ] [ "file" => "/home/web/projects/uat.svarlen.ru/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php" "line" => 139 "function" => "dispatch" "class" => "Symfony\Component\EventDispatcher\EventDispatcher" "type" => "->" ] [ "file" => "/home/web/projects/uat.svarlen.ru/vendor/symfony/http-kernel/HttpKernel.php" "line" => 157 "function" => "dispatch" "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher" "type" => "->" ] [ "file" => "/home/web/projects/uat.svarlen.ru/vendor/symfony/http-kernel/HttpKernel.php" "line" => 76 "function" => "handleRaw" "class" => "Symfony\Component\HttpKernel\HttpKernel" "type" => "->" ] [ "file" => "/home/web/projects/uat.svarlen.ru/vendor/symfony/http-kernel/Kernel.php" "line" => 197 "function" => "handle" "class" => "Symfony\Component\HttpKernel\HttpKernel" "type" => "->" ] [ "file" => "/home/web/projects/uat.svarlen.ru/public/index.php" "line" => 25 "function" => "handle" "class" => "Symfony\Component\HttpKernel\Kernel" "type" => "->" ] ] |
Submarine\CartBundle\Provider\SessionCartProvider:41
[ [ "file" => "/home/web/projects/uat.svarlen.ru/src/Submarine/CartBundle/Provider/SessionCartProvider.php" "line" => 41 "function" => "get" "class" => "Symfony\Component\HttpFoundation\Session\Session" "type" => "->" ] [ "file" => "/home/web/projects/uat.svarlen.ru/src/Svarlen/AppBundle/Controller/CartController.php" "line" => 82 "function" => "getCart" "class" => "Submarine\CartBundle\Provider\SessionCartProvider" "type" => "->" ] [ "file" => "/home/web/projects/uat.svarlen.ru/vendor/symfony/http-kernel/HttpKernel.php" "line" => 181 "function" => "addAction" "class" => "Svarlen\AppBundle\Controller\CartController" "type" => "->" ] [ "file" => "/home/web/projects/uat.svarlen.ru/vendor/symfony/http-kernel/HttpKernel.php" "line" => 76 "function" => "handleRaw" "class" => "Symfony\Component\HttpKernel\HttpKernel" "type" => "->" ] [ "file" => "/home/web/projects/uat.svarlen.ru/vendor/symfony/http-kernel/Kernel.php" "line" => 197 "function" => "handle" "class" => "Symfony\Component\HttpKernel\HttpKernel" "type" => "->" ] [ "file" => "/home/web/projects/uat.svarlen.ru/public/index.php" "line" => 25 "function" => "handle" "class" => "Symfony\Component\HttpKernel\Kernel" "type" => "->" ] ] |
Submarine\CartBundle\Provider\SessionCartProvider:60
[ [ "file" => "/home/web/projects/uat.svarlen.ru/src/Submarine/CartBundle/Provider/SessionCartProvider.php" "line" => 60 "function" => "set" "class" => "Symfony\Component\HttpFoundation\Session\Session" "type" => "->" ] [ "file" => "/home/web/projects/uat.svarlen.ru/src/Svarlen/AppBundle/Controller/CartController.php" "line" => 198 "function" => "saveCart" "class" => "Submarine\CartBundle\Provider\SessionCartProvider" "type" => "->" ] [ "file" => "/home/web/projects/uat.svarlen.ru/src/Svarlen/AppBundle/Controller/CartController.php" "line" => 83 "function" => "addCart" "class" => "Svarlen\AppBundle\Controller\CartController" "type" => "->" ] [ "file" => "/home/web/projects/uat.svarlen.ru/vendor/symfony/http-kernel/HttpKernel.php" "line" => 181 "function" => "addAction" "class" => "Svarlen\AppBundle\Controller\CartController" "type" => "->" ] [ "file" => "/home/web/projects/uat.svarlen.ru/vendor/symfony/http-kernel/HttpKernel.php" "line" => 76 "function" => "handleRaw" "class" => "Symfony\Component\HttpKernel\HttpKernel" "type" => "->" ] [ "file" => "/home/web/projects/uat.svarlen.ru/vendor/symfony/http-kernel/Kernel.php" "line" => 197 "function" => "handle" "class" => "Symfony\Component\HttpKernel\HttpKernel" "type" => "->" ] [ "file" => "/home/web/projects/uat.svarlen.ru/public/index.php" "line" => 25 "function" => "handle" "class" => "Symfony\Component\HttpKernel\Kernel" "type" => "->" ] ] |
Submarine\CoreBundle\Notifier\NotifierProvider:37
[ [ "file" => "/home/web/projects/uat.svarlen.ru/src/Submarine/CoreBundle/Notifier/NotifierProvider.php" "line" => 37 "function" => "getFlashBag" "class" => "Symfony\Component\HttpFoundation\Session\Session" "type" => "->" ] [ "file" => "/home/web/projects/uat.svarlen.ru/vendor/psr/log/Psr/Log/AbstractLogger.php" "line" => 98 "function" => "log" "class" => "Submarine\CoreBundle\Notifier\NotifierProvider" "type" => "->" ] [ "file" => "/home/web/projects/uat.svarlen.ru/src/Submarine/CoreBundle/Notifier/NotifierProvider.php" "line" => 74 "function" => "notice" "class" => "Psr\Log\AbstractLogger" "type" => "->" ] [ "file" => "/home/web/projects/uat.svarlen.ru/src/Svarlen/AppBundle/Controller/CartController.php" "line" => 85 "function" => "success" "class" => "Submarine\CoreBundle\Notifier\NotifierProvider" "type" => "->" ] [ "file" => "/home/web/projects/uat.svarlen.ru/vendor/symfony/http-kernel/HttpKernel.php" "line" => 181 "function" => "addAction" "class" => "Svarlen\AppBundle\Controller\CartController" "type" => "->" ] [ "file" => "/home/web/projects/uat.svarlen.ru/vendor/symfony/http-kernel/HttpKernel.php" "line" => 76 "function" => "handleRaw" "class" => "Symfony\Component\HttpKernel\HttpKernel" "type" => "->" ] [ "file" => "/home/web/projects/uat.svarlen.ru/vendor/symfony/http-kernel/Kernel.php" "line" => 197 "function" => "handle" "class" => "Symfony\Component\HttpKernel\HttpKernel" "type" => "->" ] [ "file" => "/home/web/projects/uat.svarlen.ru/public/index.php" "line" => 25 "function" => "handle" "class" => "Symfony\Component\HttpKernel\Kernel" "type" => "->" ] ] |
Flashes
Flashes
Key | Value |
---|---|
notice | [ Submarine\CoreBundle\Notifier\Notice {#1442 -level: "notice" -message: "Товар добавлен в корзину" } ] |
Server Parameters
Server Parameters
Defined in .env
Key | Value |
---|---|
APP_DEBUG | "1" |
APP_ENV | "dev" |
APP_SECRET | "ThisTokenIsNotSoSecretChangeIt" |
APP_URL | "https://uat.svarlen.ru" |
DATABASE_URL | "mysql://root:[email protected]:3306/uat_svarlen" |
EWZ_RECAPTCHA_SECRET | "" |
EWZ_RECAPTCHA_SITE_KEY | "" |
GOOGLE_RECAPTCHA_SECRET | "" |
GOOGLE_RECAPTCHA_SITE_KEY | "" |
MAILER_DSN | "smtp://[email protected]:[email protected]:465" |
MOY_SKLAD_LOGIN | "admin@svarlen_1" |
MOY_SKLAD_PASSWORD | "6427128SVARlen" |
REDIS_URL | "redis://localhost" |
Defined as regular env variables
Key | Value |
---|---|
"dev" |
|
CONTENT_LENGTH | "" |
CONTENT_TYPE | "" |
DOCUMENT_ROOT | "/home/web/projects/uat.svarlen.ru/public" |
DOCUMENT_URI | "/index.php" |
FCGI_ROLE | "RESPONDER" |
GATEWAY_INTERFACE | "CGI/1.1" |
HOME | "/var/www" |
HTTP_ACCEPT | "*/*" |
HTTP_ACCEPT_ENCODING | "gzip, br, deflate" |
HTTP_COOKIE | "PHPSESSID=p0m2kgp49ueu64c3b2f9u47ba2" |
HTTP_FROM | "gptbot(at)openai.com" |
HTTP_HOST | "www.svarlen.ru" |
HTTP_USER_AGENT | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.2; +https://openai.com/gptbot)" |
HTTP_X_OPENAI_HOST_HASH | "680458935" |
PHP_SELF | "/index.php" |
QUERY_STRING | "id=4856" |
REDIRECT_STATUS | "200" |
REMOTE_ADDR | "20.171.207.188" |
REMOTE_PORT | "44660" |
REMOTE_USER | "" |
REQUEST_METHOD | "GET" |
REQUEST_SCHEME | "http" |
REQUEST_TIME | 1748077806 |
REQUEST_TIME_FLOAT | 1748077806.2102 |
REQUEST_URI | "/cart/add?id=4856" |
SCRIPT_FILENAME | "/home/web/projects/uat.svarlen.ru/public/index.php" |
SCRIPT_NAME | "/index.php" |
SERVER_ADDR | "188.143.233.225" |
SERVER_NAME | "" |
SERVER_PORT | "80" |
SERVER_PROTOCOL | "HTTP/1.1" |
SERVER_SOFTWARE | "nginx/1.18.0" |
SYMFONY_DOTENV_VARS | "APP_ENV,APP_SECRET,APP_DEBUG,DATABASE_URL,REDIS_URL,MOY_SKLAD_LOGIN,MOY_SKLAD_PASSWORD,GOOGLE_RECAPTCHA_SITE_KEY,GOOGLE_RECAPTCHA_SECRET,EWZ_RECAPTCHA_SITE_KEY,EWZ_RECAPTCHA_SECRET,MAILER_DSN,APP_URL" |
USER | "www-data" |