CartController :: addAction
Request
GET Parameters
Key | Value |
---|---|
id | "3786" |
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" |
_redirected | true |
_route | "cart_add" |
_route_params | [] |
_security_firewall_run | "_security_submarine" |
_stopwatch_token | "60e5be" |
Request Headers
Header | Value |
---|---|
accept | "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" |
connection | "close" |
cookie | "PHPSESSID=42aq7h7ga3vhgo6n5e4bjog89m; sf_redirect=%7B%22token%22%3A%22d8f1fc%22%2C%22route%22%3A%22cart_add%22%2C%22method%22%3A%22GET%22%2C%22controller%22%3A%7B%22class%22%3A%22Svarlen%5C%5CAppBundle%5C%5CController%5C%5CCartController%22%2C%22method%22%3A%22addAction%22%2C%22file%22%3A%22%5C%2Fhome%5C%2Fweb%5C%2Fprojects%5C%2Fuat.svarlen.ru%5C%2Fsrc%5C%2FSvarlen%5C%2FAppBundle%5C%2FController%5C%2FCartController.php%22%2C%22line%22%3A74%7D%2C%22status_code%22%3A302%2C%22status_text%22%3A%22Found%22%7D" |
host | "svarlen.ru" |
referer | "http://svarlen.ru/cart/add?id=3786" |
user-agent | "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36" |
x-php-ob-level | "1" |
Request Content
Request content not available (it was retrieved as a resource).
Response
Response Headers
Header | Value |
---|---|
cache-control | "private, must-revalidate" |
content-type | "text/html; charset=utf-8" |
date | "Sat, 17 May 2025 06:54:12 GMT" |
expires | "-1" |
location | "http://svarlen.ru/cart/add?id=3786" |
pragma | "no-cache" |
x-debug-token | "294cd4" |
Cookies
Request Cookies
Key | Value |
---|---|
PHPSESSID | "42aq7h7ga3vhgo6n5e4bjog89m" |
sf_redirect | "{"token":"d8f1fc","route":"cart_add","method":"GET","controller":{"class":"Svarlen\\AppBundle\\Controller\\CartController","method":"addAction","file":"\/home\/web\/projects\/uat.svarlen.ru\/src\/Svarlen\/AppBundle\/Controller\/CartController.php","line":74},"status_code":302,"status_text":"Found"}" |
Response Cookies
No response cookies
Session 4
Session Metadata
Key | Value |
---|---|
Created | "Sat, 17 May 25 09:54:10 +0300" |
Last used | "Sat, 17 May 25 09:54:12 +0300" |
Lifetime | 0 |
Session Attributes
Attribute | Value |
---|---|
submarine_cart_session | Submarine\CartBundle\Entity\Cart {#571 -items: Doctrine\Common\Collections\ArrayCollection {#570 …} -description: null -createdAt: DateTime @1747464851 {#566 : 2025-05-17 09:54:11.587093 Europe/Minsk (+03:00) } -updatedAt: DateTime @1747464851 {#565 : 2025-05-17 09:54:11.587094 Europe/Minsk (+03:00) } -expiredAt: DateTime @1750143251 {#564 : 2025-06-17 09:54:11.587094 Europe/Minsk (+03:00) } -total: 18372.0 -totalDiscount: 0.0 -countQuantity: 4.0 } |
svarlen_recent_view | [ 3786 => Svarlen\AppBundle\View\ProductView {#673 -id: 3786 -title: "Сварочная горелка Сварог REAL MIG MS 15 (до 180A) 4.5м" -description: "Предназначена для полуавтоматической сварки в среде защитных газов (MIG/MAG) на токах до 180 А." -image: "media/pages/14/17/1417528e081670cfd87076a61123f075.webp" -imageAlt: "Купить недорогую сварочную горелку Сварог MIG REAL MS 15 (до 180A)" -imageTitle: "Сварочная горелка Сварог MIG REAL MS 15 (до 180A)" -price: "4 593" -oldPrice: "0" -discount: "0" -bestseller: false -freeDelivery: false -unitForPrice: "" -availability: null -url: "/svarochnye-gorelki/gorelka-dlya-poluavtomata-mig-mag/svarog/svarochnaja-gorelka-svarog-mig-real-ms-15-do-180a-45m-ict2087-sv001" -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 {#563 -level: "notice" -message: "Товар добавлен в корзину" } Submarine\CoreBundle\Notifier\Notice {#562 -level: "notice" -message: "Товар добавлен в корзину" } Submarine\CoreBundle\Notifier\Notice {#561 -level: "notice" -message: "Товар добавлен в корзину" } Submarine\CoreBundle\Notifier\Notice {#569 -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 | "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" |
HTTP_CONNECTION | "close" |
HTTP_COOKIE | "PHPSESSID=42aq7h7ga3vhgo6n5e4bjog89m; sf_redirect=%7B%22token%22%3A%22d8f1fc%22%2C%22route%22%3A%22cart_add%22%2C%22method%22%3A%22GET%22%2C%22controller%22%3A%7B%22class%22%3A%22Svarlen%5C%5CAppBundle%5C%5CController%5C%5CCartController%22%2C%22method%22%3A%22addAction%22%2C%22file%22%3A%22%5C%2Fhome%5C%2Fweb%5C%2Fprojects%5C%2Fuat.svarlen.ru%5C%2Fsrc%5C%2FSvarlen%5C%2FAppBundle%5C%2FController%5C%2FCartController.php%22%2C%22line%22%3A74%7D%2C%22status_code%22%3A302%2C%22status_text%22%3A%22Found%22%7D" |
HTTP_HOST | "svarlen.ru" |
HTTP_REFERER | "http://svarlen.ru/cart/add?id=3786" |
HTTP_USER_AGENT | "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36" |
PHP_SELF | "/index.php" |
QUERY_STRING | "id=3786" |
REDIRECT_STATUS | "200" |
REMOTE_ADDR | "45.95.146.83" |
REMOTE_PORT | "53137" |
REMOTE_USER | "" |
REQUEST_METHOD | "GET" |
REQUEST_SCHEME | "http" |
REQUEST_TIME | 1747464852 |
REQUEST_TIME_FLOAT | 1747464852.2801 |
REQUEST_URI | "/cart/add?id=3786" |
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.0" |
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" |