CartController :: add
Request
GET Parameters
None
POST Parameters
None
Uploaded Files
None
Request Attributes
| Key | Value |
|---|---|
| _access_control_attributes | null |
| _controller | "App\Controller\CartController::add" |
| _firewall_context | "security.firewall.map.context.main" |
| _redirected | true |
| _route | "app_cart_add" |
| _route_params | [ "id" => "5951" ] |
| _stopwatch_token | "74e3c9" |
| id | "5951" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "PHPSESSID=l3ss522ndncphl019f52dh1agc; sf_redirect=%7B%22token%22%3A%22773513%22%2C%22route%22%3A%22app_cart_add%22%2C%22method%22%3A%22GET%22%2C%22controller%22%3A%7B%22class%22%3A%22App%5C%5CController%5C%5CCartController%22%2C%22method%22%3A%22add%22%2C%22file%22%3A%22%5C%2Fvar%5C%2Fwww%5C%2Fhtml%5C%2Fshop%5C%2Fsrc%5C%2FController%5C%2FCartController.php%22%2C%22line%22%3A24%7D%2C%22status_code%22%3A302%2C%22status_text%22%3A%22Found%22%7D" |
| host | "www.mipeluco.com" |
| user-agent | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" |
| 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, 22 Aug 2026 18:46:07 GMT" |
| location | "/cart" |
| x-debug-token | "56c32f" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "l3ss522ndncphl019f52dh1agc" |
| sf_redirect | "{"token":"773513","route":"app_cart_add","method":"GET","controller":{"class":"App\\Controller\\CartController","method":"add","file":"\/var\/www\/html\/shop\/src\/Controller\/CartController.php","line":24},"status_code":302,"status_text":"Found"}" |
Response Cookies
No response cookies
Session 2
Session Metadata
| Key | Value |
|---|---|
| Created | "Sat, 22 Aug 26 18:44:33 +0000" |
| Last used | "Sat, 22 Aug 26 18:46:07 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| cart | [ 18747 => 1 14189 => 1 23168 => 1 24667 => 1 21138 => 1 18755 => 1 23058 => 1 20475 => 1 9444 => 1 11689 => 1 23131 => 1 23370 => 1 17304 => 1 20313 => 1 26022 => 1 8179 => 1 4211 => 1 19333 => 1 20220 => 1 21384 => 1 21422 => 1 1347 => 1 15618 => 1 14205 => 1 21627 => 1 6184 => 1 12916 => 1 15409 => 1 22743 => 1 18343 => 1 16060 => 1 20660 => 1 19073 => 1 15616 => 1 19743 => 1 21617 => 1 25814 => 1 14505 => 1 15742 => 1 24498 => 1 19710 => 1 5275 => 1 22298 => 1 6668 => 1 22447 => 1 9143 => 1 18377 => 1 14783 => 1 19235 => 1 14427 => 1 19082 => 1 26009 => 1 9349 => 1 19134 => 1 21656 => 1 14618 => 1 11167 => 1 19206 => 1 14412 => 1 6242 => 1 25309 => 1 20610 => 1 14420 => 1 13392 => 1 14424 => 1 7949 => 1 19203 => 1 23452 => 1 12200 => 1 9473 => 1 14246 => 1 13400 => 1 1411 => 1 13549 => 1 21104 => 1 23266 => 1 13559 => 1 14989 => 1 17799 => 1 24426 => 1 25235 => 1 11804 => 1 26035 => 1 19723 => 1 21329 => 1 17095 => 1 17800 => 1 9888 => 1 19119 => 1 14167 => 1 20323 => 1 23096 => 1 17897 => 1 12628 => 1 25674 => 1 21392 => 1 17701 => 1 24832 => 1 20843 => 1 1576 => 1 24289 => 1 20825 => 1 15263 => 1 18849 => 1 24412 => 1 6684 => 1 12535 => 1 5179 => 1 25398 => 1 16437 => 1 14262 => 1 24846 => 1 20318 => 1 18524 => 1 15636 => 1 1651 => 1 1589 => 1 19847 => 1 21638 => 1 14494 => 1 3167 => 1 1488 => 1 23235 => 1 21738 => 1 21230 => 1 23868 => 1 22548 => 1 16089 => 1 17744 => 1 22453 => 1 18304 => 1 26007 => 1 25437 => 1 11749 => 1 23560 => 1 19349 => 1 3061 => 1 22023 => 1 25897 => 1 21284 => 1 12897 => 1 23555 => 1 2636 => 1 23849 => 1 21479 => 1 22716 => 1 22177 => 1 21574 => 1 23037 => 1 26040 => 1 17312 => 1 10802 => 1 15342 => 1 22319 => 1 14876 => 1 11374 => 1 18216 => 1 9913 => 1 16983 => 1 11778 => 1 5951 => 1 ] |
| wishlist | [ 1288 23530 18032 17783 18570 23304 5742 21964 12633 13522 21993 12824 22850 20499 22391 23688 24416 6266 21623 23273 20818 6622 19737 11302 10922 17174 10830 15726 10011 17248 12184 11708 19694 21156 11401 20667 24852 19137 24100 17491 20920 21352 25407 21228 23568 19138 25202 24217 10762 18913 20894 23897 15712 10038 19016 15482 15629 15923 17415 14148 9204 5497 15766 1080 7820 14814 13898 17338 6391 16429 17778 21753 6680 10639 16428 17431 25439 17323 17417 21696 23549 18707 2667 16442 1866 17672 16974 6635 24720 17318 5238 24083 7234 18040 11323 15054 14630 20882 12706 16032 8127 23476 19182 8843 13133 17412 20630 6990 16934 20455 24882 22188 24724 17638 20814 15719 12601 10054 20368 18959 18455 21860 1942 11798 17425 11316 23459 6633 6939 18869 11966 13989 18080 17405 25817 10846 7842 1412 17101 19872 2652 23137 21816 8177 21933 5425 16476 10848 17252 14159 21170 13713 14199 24308 10194 9478 6687 17758 20723 15927 7390 23080 18248 1420 6204 17346 15293 23455 5257 4001 21301 17218 24405 18852 16443 10969 18219 16050 21235 19202 15913 19167 21365 15738 21705 12571 22931 22473 6640 1143 25435 23095 1842 24642 9403 13718 20668 25446 25772 8187 18291 ] |
Session Usage
2
Usages
Stateless check enabled
| Usage |
|---|
App\Service\CartService:23
[
[
"file" => "/var/www/html/shop/src/Service/CartService.php"
"line" => 23
"function" => "get"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/var/www/html/shop/src/Controller/CartController.php"
"line" => 26
"function" => "add"
"class" => "App\Service\CartService"
"type" => "->"
]
[
"file" => "/var/www/html/shop/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 181
"function" => "add"
"class" => "App\Controller\CartController"
"type" => "->"
]
[
"file" => "/var/www/html/shop/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 76
"function" => "handleRaw"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/html/shop/vendor/symfony/http-kernel/Kernel.php"
"line" => 208
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/html/shop/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
"line" => 35
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\Kernel"
"type" => "->"
]
[
"file" => "/var/www/html/shop/vendor/autoload_runtime.php"
"line" => 29
"function" => "run"
"class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
"type" => "->"
]
[
"file" => "/var/www/html/shop/public/index.php"
"line" => 5
"args" => [
"/var/www/html/shop/vendor/autoload_runtime.php"
]
"function" => "require_once"
]
]
|
App\Service\CartService:31
[
[
"file" => "/var/www/html/shop/src/Service/CartService.php"
"line" => 31
"function" => "set"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/var/www/html/shop/src/Controller/CartController.php"
"line" => 26
"function" => "add"
"class" => "App\Service\CartService"
"type" => "->"
]
[
"file" => "/var/www/html/shop/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 181
"function" => "add"
"class" => "App\Controller\CartController"
"type" => "->"
]
[
"file" => "/var/www/html/shop/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 76
"function" => "handleRaw"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/html/shop/vendor/symfony/http-kernel/Kernel.php"
"line" => 208
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/html/shop/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
"line" => 35
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\Kernel"
"type" => "->"
]
[
"file" => "/var/www/html/shop/vendor/autoload_runtime.php"
"line" => 29
"function" => "run"
"class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
"type" => "->"
]
[
"file" => "/var/www/html/shop/public/index.php"
"line" => 5
"args" => [
"/var/www/html/shop/vendor/autoload_runtime.php"
]
"function" => "require_once"
]
]
|
Flashes
Flashes
No flash messages were created.
Server Parameters
Server Parameters
Defined in .env
| Key | Value |
|---|---|
| APP_DEBUG | "1" |
| APP_ENV | "dev" |
| APP_SECRET | "a88e7a83d7a8e7a83d7a8e7a83d7a8e7" |
| APP_SHARE_DIR | "var/share" |
| DATABASE_URL | "mysql://ubuntu:SugusMan12796664!@127.0.0.1:3306/shop?serverVersion=5.7&charset=utf8mb4" |
| DEFAULT_URI | "http://localhost" |
| GEMINI_API_KEY | "AQ.Ab8RN6LMhraEGG3QnALSgJN5wuufPU23GxWTmw--fvkpy_hsMA" |
| GEMINI_MODEL | "gemini-1.5-flash" |
| MAILER_DSN | "smtps://hola%40mipeluco.com:Lapichuta26!@ssl0.ovh.net:465" |
Defined as regular env variables
| Key | Value |
|---|---|
| CONTEXT_DOCUMENT_ROOT | "/var/www/html/shop/public" |
| CONTEXT_PREFIX | "" |
| DOCUMENT_ROOT | "/var/www/html/shop/public" |
| GATEWAY_INTERFACE | "CGI/1.1" |
| HTTPS | "on" |
| HTTP_ACCEPT | "*/*" |
| HTTP_ACCEPT_ENCODING | "gzip, br, zstd, deflate" |
| HTTP_COOKIE | "PHPSESSID=l3ss522ndncphl019f52dh1agc; sf_redirect=%7B%22token%22%3A%22773513%22%2C%22route%22%3A%22app_cart_add%22%2C%22method%22%3A%22GET%22%2C%22controller%22%3A%7B%22class%22%3A%22App%5C%5CController%5C%5CCartController%22%2C%22method%22%3A%22add%22%2C%22file%22%3A%22%5C%2Fvar%5C%2Fwww%5C%2Fhtml%5C%2Fshop%5C%2Fsrc%5C%2FController%5C%2FCartController.php%22%2C%22line%22%3A24%7D%2C%22status_code%22%3A302%2C%22status_text%22%3A%22Found%22%7D" |
| HTTP_HOST | "www.mipeluco.com" |
| HTTP_USER_AGENT | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" |
| PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/snap/bin" |
| PHP_SELF | "/index.php" |
| QUERY_STRING | "" |
| REDIRECT_HTTPS | "on" |
| REDIRECT_SCRIPT_URI | "https://www.mipeluco.com/cart/add/5951" |
| REDIRECT_SCRIPT_URL | "/cart/add/5951" |
| REDIRECT_SSL_TLS_SNI | "www.mipeluco.com" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/cart/add/5951" |
| REMOTE_ADDR | "216.73.216.215" |
| REMOTE_PORT | "39825" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1787424367 |
| REQUEST_TIME_FLOAT | 1787424367.1143 |
| REQUEST_URI | "/cart/add/5951" |
| SCRIPT_FILENAME | "/var/www/html/shop/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SCRIPT_URI | "https://www.mipeluco.com/cart/add/5951" |
| SCRIPT_URL | "/cart/add/5951" |
| SERVER_ADDR | "148.113.201.140" |
| SERVER_ADMIN | "[no address given]" |
| SERVER_NAME | "www.mipeluco.com" |
| SERVER_PORT | "443" |
| SERVER_PROTOCOL | "HTTP/1.1" |
| SERVER_SIGNATURE | "<address>Apache/2.4.62 (Ubuntu) Server at www.mipeluco.com Port 443</address>\n" |
| SERVER_SOFTWARE | "Apache/2.4.62 (Ubuntu)" |
| SSL_TLS_SNI | "www.mipeluco.com" |
| SYMFONY_DOTENV_VARS | "APP_ENV,APP_SECRET,APP_SHARE_DIR,DEFAULT_URI,DATABASE_URL,MAILER_DSN,APP_DEBUG,GEMINI_API_KEY,GEMINI_MODEL" |