CartController :: addAction
Request
GET Parameters
Key | Value |
---|---|
id | "4692" |
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 | "d17b51" |
Request Headers
Header | Value |
---|---|
accept | "*/*" |
accept-encoding | "gzip, br, deflate" |
cookie | "PHPSESSID=h6la2qednolsig58cgqpti3e42" |
from | "gptbot(at)openai.com" |
host | "188.143.233.225" |
user-agent | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.2; +https://openai.com/gptbot)" |
x-openai-host-hash | "941691324" |
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 15:23:10 GMT" |
location | "/cart" |
x-debug-token | "24e013" |
Cookies
Request Cookies
Key | Value |
---|---|
PHPSESSID | "h6la2qednolsig58cgqpti3e42" |
Response Cookies
No response cookies
Session 4
Session Metadata
Key | Value |
---|---|
Created | "Sat, 24 May 25 18:20:59 +0300" |
Last used | "Sat, 24 May 25 18:23:08 +0300" |
Lifetime | 0 |
Session Attributes
Attribute | Value |
---|---|
_csrf/order_form | "9Medd4i7g0mxo4Se5gDmeEjm5PasKxBpLW00pL63dlU" |
_csrf/quick_order_form | "2zOttE73OfLbIqGNG7Mda2Q_4SG_kw79yJIj1s0r1DI" |
submarine_cart_session | Submarine\CartBundle\Entity\Cart {#566 -items: Doctrine\Common\Collections\ArrayCollection {#565 …} -description: null -createdAt: DateTime @1748100072 {#564 : 2025-05-24 18:21:12.520896 Europe/Minsk (+03:00) } -updatedAt: DateTime @1748100072 {#563 : 2025-05-24 18:21:12.520897 Europe/Minsk (+03:00) } -expiredAt: DateTime @1750778472 {#562 : 2025-06-24 18:21:12.520898 Europe/Minsk (+03:00) } -total: 57735.0 -totalDiscount: 0.0 -countQuantity: 1.0 } |
svarlen_recent_view | [ 6222 => Svarlen\AppBundle\View\ProductView {#673 -id: 6222 -title: "Сварочный полуавтомат FoxWeld Weco MIG 503 DP" -description: null -image: "media/pages/3112b6f91b/1.webp" -imageAlt: null -imageTitle: null -price: "0" -oldPrice: "0" -discount: "0" -bestseller: false -freeDelivery: false -unitForPrice: "" -availability: null -url: "/svarochnyy-apparat/svarochnyy-poluavtomat/svarochnyj-poluavtomat-foxweld-weco-mig-503-dp" -listTitle: null } 5895 => Svarlen\AppBundle\View\ProductView {#571 -id: 5895 -title: "Аппарат аргонодуговой сварки ПТК RILON TIG 315 P AC/DC (НАКС)" -description: null -image: "media/pages/94f45fc4e9/1.webp" -imageAlt: null -imageTitle: null -price: "141 373" -oldPrice: "0" -discount: "0" -bestseller: false -freeDelivery: false -unitForPrice: "" -availability: null -url: "/svarochnyy-apparat/argonovaya-svarka-tig/apparat-argonodugovoj-svarki-ptk-rilon-tig-315-p-ac-dc-naks" -listTitle: null } 6903 => Svarlen\AppBundle\View\ProductView {#570 -id: 6903 -title: "Сварочный полуавтомат TRITON STEELMIG 500 D" -description: null -image: "media/pages/b852c6ad8e/1.webp" -imageAlt: null -imageTitle: null -price: "0" -oldPrice: "0" -discount: "0" -bestseller: false -freeDelivery: false -unitForPrice: "" -availability: null -url: "/svarochnoe-oborudovanie-apparaty/mig-svarka-poluavtomatom/svarochnyy-poluavtomat-triton-steelmig-500-d" -listTitle: null } 2905 => Svarlen\AppBundle\View\ProductView {#569 -id: 2905 -title: "Сварочный полуавтомат Сварог MIG 250 Y (J04-M)" -description: "Сварочный полуавтомат Сварог MIG 250 Y (J04-M)" -image: "media/pages/8f/c0/8fc07d9e4d2608e131f9eb08977fdd50.webp" -imageAlt: null -imageTitle: null -price: "137 115" -oldPrice: "0" -discount: "0" -bestseller: false -freeDelivery: false -unitForPrice: "" -availability: null -url: "/svarochnoe-oborudovanie-apparaty/mig-svarka-poluavtomatom/svarochnyj-poluavtomat-mig-250-y-j04-m" -listTitle: null } 2495 => Svarlen\AppBundle\View\ProductView {#568 -id: 2495 -title: "Сварочный инвертор Сварог TECH ARC 205B (Z203)" -description: "Сварочный инвертор Сварог TECH ARC 205 B (Z203)" -image: "media/pages/20c24534d2/1.webp" -imageAlt: null -imageTitle: null -price: "41 076" -oldPrice: "0" -discount: "0" -bestseller: false -freeDelivery: false -unitForPrice: "" -availability: null -url: "/svarochnoe-oborudovanie-apparaty/dugovaya-svarka-elektrodom/svarochnyj-invertor-tech-arc-205-b-z203" -listTitle: "Профессиональный сварочный инвертор Сварог TECH ARC 205B (Z203)" } 4692 => Svarlen\AppBundle\View\ProductView {#567 -id: 4692 -title: "Машина термической резки CG1—30 Plasma" -description: null -image: "media/pages/7de9904b70/kopiya-cg1-30-plasma_00000098345_1-2.webp" -imageAlt: null -imageTitle: null -price: "57 735" -oldPrice: "0" -discount: "0" -bestseller: false -freeDelivery: false -unitForPrice: "" -availability: null -url: "/gazosvarka/gazoresatelnye-mashiny/mashina-termicheskoj-rezki-cg1-30-plasma" -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 {#1322 -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=h6la2qednolsig58cgqpti3e42" |
HTTP_FROM | "gptbot(at)openai.com" |
HTTP_HOST | "188.143.233.225" |
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 | "941691324" |
PHP_SELF | "/index.php" |
QUERY_STRING | "id=4692" |
REDIRECT_STATUS | "200" |
REMOTE_ADDR | "20.171.207.66" |
REMOTE_PORT | "35338" |
REMOTE_USER | "" |
REQUEST_METHOD | "GET" |
REQUEST_SCHEME | "http" |
REQUEST_TIME | 1748100190 |
REQUEST_TIME_FLOAT | 1748100190.1973 |
REQUEST_URI | "/cart/add?id=4692" |
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" |