CartController :: addAction
Request
GET Parameters
Key | Value |
---|---|
id | "4297" |
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 | "21d3a2" |
Request Headers
Header | Value |
---|---|
accept | "*/*" |
accept-encoding | "gzip, br, deflate" |
cookie | "PHPSESSID=ihnk2sen3hptfq2adc4n6v38sb" |
from | "gptbot(at)openai.com" |
host | "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 | "14360342" |
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 | "Fri, 23 May 2025 06:53:16 GMT" |
location | "/cart" |
x-debug-token | "a4cdba" |
Cookies
Request Cookies
Key | Value |
---|---|
PHPSESSID | "ihnk2sen3hptfq2adc4n6v38sb" |
Response Cookies
No response cookies
Session 4
Session Metadata
Key | Value |
---|---|
Created | "Fri, 23 May 25 09:29:52 +0300" |
Last used | "Fri, 23 May 25 09:53:14 +0300" |
Lifetime | 0 |
Session Attributes
Attribute | Value |
---|---|
_csrf/order_form | "2lj2d1zeiQXO9bMW4CVjuYdIBdsHfDLYu6MjzfQeqBA" |
_csrf/quick_order_form | "-tCkPJkRNpr4aYkr90ys5jYtFgoCZ6YsyPHJv8FVtY4" |
submarine_cart_session | Submarine\CartBundle\Entity\Cart {#566 -items: Doctrine\Common\Collections\ArrayCollection {#565 …} -description: null -createdAt: DateTime @1747981813 {#549 : 2025-05-23 09:30:13.818921 Europe/Minsk (+03:00) } -updatedAt: DateTime @1747981813 {#548 : 2025-05-23 09:30:13.818922 Europe/Minsk (+03:00) } -expiredAt: DateTime @1750660213 {#547 : 2025-06-23 09:30:13.818923 Europe/Minsk (+03:00) } -total: 13811.0 -totalDiscount: 0.0 -countQuantity: 6.0 } |
svarlen_recent_view | [ 4256 => Svarlen\AppBundle\View\ProductView {#673 -id: 4256 -title: "Компрессор винтовой ABAC MICRON 5.510-200" -description: null -image: "media/pages/33/a8/33a8760598215543c4f84b6e3c74b117.webp" -imageAlt: "Воздушный винтовой компрессор ABAC MICRON 5.510-200 купить в СПб" -imageTitle: "Компрессор винтовой с ресивером ABAC MICRON 5.510-200 (4152012011)" -price: "0" -oldPrice: "0" -discount: "0" -bestseller: false -freeDelivery: false -unitForPrice: "" -availability: null -url: "/vozdushnye-kompressory/abac/kompressor-vintovoj-380v-abac-micron-5-510-200-4152012011" -listTitle: null } 3944 => Svarlen\AppBundle\View\ProductView {#571 -id: 3944 -title: "Редуктор пропановый REDIUS БПО-5-3-БМ" -description: null -image: "media/pages/20/f5/20f507710c6affbd12e5b09a309cdf13.webp" -imageAlt: "Купить бюджетный пропановый редуктор REDIUS БПО-5-3-БМ в СПб" -imageTitle: "Дешёвый пропановый редуктор REDIUS БПО-5-3-БМ в СПб (арт. 01202)" -price: "922" -oldPrice: "0" -discount: "0" -bestseller: false -freeDelivery: false -unitForPrice: "" -availability: null -url: "/gazosvarka/reduktory-gazovye/reduktory-propanovye/redius/reduktor-propanovyj-redius-bpo-5-3-m-01202" -listTitle: null } 2604 => Svarlen\AppBundle\View\ProductView {#570 -id: 2604 -title: "Сварочная нержавеющая проволока ER-308 LSi ∅ 1.0мм (15кг/упак.)" -description: null -image: "media/pages/60/e1/60e193ee58169e2e8e75bac35acd4014.webp" -imageAlt: null -imageTitle: null -price: "10 687" -oldPrice: "0" -discount: "0" -bestseller: false -freeDelivery: false -unitForPrice: "катушка" -availability: null -url: "/svarochnye-materialy/svarochnaya-provoloka/provoloka-nerzhaveyushchaya/svarochnaja-nerzhavejushchaja-provoloka-er-308-lsi-1-0mm-15kg-upak" -listTitle: null } 6079 => Svarlen\AppBundle\View\ProductView {#569 -id: 6079 -title: "Сварочный инвертор Grovers MMA-160G professional" -description: null -image: "media/pages/84bc37e9c4/1.webp" -imageAlt: null -imageTitle: null -price: "0" -oldPrice: "0" -discount: "0" -bestseller: false -freeDelivery: false -unitForPrice: "" -availability: null -url: "/svarochnoe-oborudovanie-apparaty/dugovaya-svarka-elektrodom/svarochnyj-invertor-grovers-mma-160g-professional" -listTitle: null } 5621 => Svarlen\AppBundle\View\ProductView {#568 -id: 5621 -title: "Тележка HUGONG для SUPERWAVE 500U" -description: null -image: "media/pages/e922fd9422/3245aecldl64m41z5m7vunebm8mramvj.webp" -imageAlt: null -imageTitle: null -price: "30 778" -oldPrice: "0" -discount: "0" -bestseller: false -freeDelivery: false -unitForPrice: "" -availability: null -url: "/aksessuary-dlja-svarki/aksessuary-dlja-svarki/telezhka-hugong-dlya-superwave-500u" -listTitle: null } 4698 => Svarlen\AppBundle\View\ProductView {#567 -id: 4698 -title: "Шарнирно-копировальная машина термической резки CG2—150 для раскроя листового материала" -description: "Шарнирно-копировальная машина термической резки металла, предназначенная для раскроя листового материала." -image: "media/pages/040de0f757/cg2-150_00000098348_1.webp" -imageAlt: null -imageTitle: null -price: "117 694" -oldPrice: "0" -discount: "0" -bestseller: false -freeDelivery: false -unitForPrice: "" -availability: null -url: "/gazosvarka/gazoresatelnye-mashiny/sharnirno-kopirovalnaja-mashina-termicheskoj-rezki-cg2-150-dlja-raskroja-listovogo-materiala" -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 {#1337 -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:k0d2YWuuHbl@127.0.0.1:3306/uat_svarlen" |
EWZ_RECAPTCHA_SECRET | "" |
EWZ_RECAPTCHA_SITE_KEY | "" |
GOOGLE_RECAPTCHA_SECRET | "" |
GOOGLE_RECAPTCHA_SITE_KEY | "" |
MAILER_DSN | "smtp://info@svarlen.ru:eklxpezygcsrgljx@smtp.yandex.ru: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=ihnk2sen3hptfq2adc4n6v38sb" |
HTTP_FROM | "gptbot(at)openai.com" |
HTTP_HOST | "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 | "14360342" |
PHP_SELF | "/index.php" |
QUERY_STRING | "id=4297" |
REDIRECT_STATUS | "200" |
REMOTE_ADDR | "20.171.207.36" |
REMOTE_PORT | "42864" |
REMOTE_USER | "" |
REQUEST_METHOD | "GET" |
REQUEST_SCHEME | "http" |
REQUEST_TIME | 1747983196 |
REQUEST_TIME_FLOAT | 1747983196.1463 |
REQUEST_URI | "/cart/add?id=4297" |
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" |