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" => "13244" ] |
| _stopwatch_token | "2d00fd" |
| id | "13244" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "sf_redirect=%7B%22token%22%3A%22c7a83a%22%2C%22route%22%3A%22app_wishlist_add%22%2C%22method%22%3A%22GET%22%2C%22controller%22%3A%7B%22class%22%3A%22App%5C%5CController%5C%5CWishlistController%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%2FWishlistController.php%22%2C%22line%22%3A15%7D%2C%22status_code%22%3A302%2C%22status_text%22%3A%22Found%22%7D; PHPSESSID=99nk0gtu9494apc5abs34kpsk0" |
| host | "shop.devlaboratory.es" |
| 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, 29 Aug 2026 17:04:22 GMT" |
| location | "/cart" |
| x-debug-token | "0aef9d" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "99nk0gtu9494apc5abs34kpsk0" |
| sf_redirect | "{"token":"c7a83a","route":"app_wishlist_add","method":"GET","controller":{"class":"App\\Controller\\WishlistController","method":"add","file":"\/var\/www\/html\/shop\/src\/Controller\/WishlistController.php","line":15},"status_code":302,"status_text":"Found"}" |
Response Cookies
No response cookies
Session 2
Session Metadata
| Key | Value |
|---|---|
| Created | "Sat, 29 Aug 26 17:03:28 +0000" |
| Last used | "Sat, 29 Aug 26 17:04:22 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| cart | [ 18798 => 1 23405 => 1 22156 => 1 1224 => 1 14650 => 1 22186 => 1 20380 => 1 25335 => 1 21137 => 1 14359 => 1 1231 => 1 13422 => 1 20850 => 1 21389 => 1 19153 => 1 1226 => 1 13374 => 1 7886 => 1 14259 => 1 1225 => 1 6538 => 1 7193 => 1 17384 => 1 7042 => 1 9009 => 1 23247 => 1 16491 => 1 15943 => 1 26526 => 1 10607 => 1 5988 => 1 8051 => 1 23921 => 1 7671 => 1 25914 => 1 1314 => 1 20962 => 1 23879 => 1 9698 => 1 24723 => 1 18955 => 1 22329 => 1 17066 => 1 17401 => 1 7838 => 1 18845 => 1 22732 => 1 19099 => 1 15680 => 1 2342 => 1 23532 => 1 15094 => 1 17987 => 1 13822 => 1 11525 => 1 26517 => 1 5187 => 1 23087 => 1 9904 => 1 28116 => 1 5399 => 1 8756 => 1 23246 => 1 15716 => 1 16989 => 1 1139 => 1 24437 => 1 14600 => 1 6165 => 1 14796 => 1 21043 => 1 18159 => 1 26243 => 1 3614 => 1 20405 => 1 1128 => 1 6699 => 1 15864 => 1 14748 => 1 16169 => 1 10124 => 1 14288 => 1 21265 => 1 15696 => 1 22864 => 1 18706 => 1 25170 => 1 22047 => 1 16494 => 1 8661 => 1 13097 => 1 9272 => 1 5554 => 1 24710 => 1 11998 => 1 9089 => 1 13274 => 1 1262 => 1 12696 => 1 10244 => 1 23852 => 1 11765 => 1 13723 => 1 19308 => 1 22169 => 1 12283 => 1 24797 => 1 10832 => 1 14231 => 1 25358 => 1 23778 => 1 16480 => 1 13202 => 1 7278 => 1 20960 => 1 13599 => 1 23547 => 1 23575 => 1 25988 => 1 18376 => 1 28104 => 1 24229 => 1 9431 => 1 13033 => 1 9360 => 1 16033 => 1 12850 => 1 10478 => 1 22164 => 1 8839 => 1 19248 => 1 28197 => 1 2517 => 1 10374 => 1 24159 => 1 21245 => 1 11449 => 1 21716 => 1 11889 => 1 7924 => 1 5424 => 1 14629 => 1 11307 => 1 16018 => 1 9131 => 1 23667 => 1 2466 => 1 13716 => 1 17588 => 1 5194 => 1 12381 => 1 22853 => 1 12252 => 1 5466 => 1 6665 => 1 19283 => 1 6679 => 1 11319 => 1 13828 => 1 11242 => 1 24304 => 1 8786 => 1 23689 => 1 14646 => 1 10212 => 1 13478 => 1 18374 => 1 23548 => 1 23069 => 1 24758 => 1 11260 => 1 17121 => 1 13248 => 1 9827 => 1 24706 => 1 23529 => 1 25982 => 1 13773 => 1 21287 => 1 13221 => 1 10940 => 1 22572 => 1 17962 => 1 21573 => 1 1142 => 1 7492 => 1 20923 => 1 17660 => 1 5426 => 1 22828 => 1 5611 => 1 21358 => 1 22029 => 1 22160 => 1 9351 => 1 2306 => 1 13869 => 1 991 => 1 6457 => 1 8838 => 1 14644 => 1 22330 => 1 8122 => 1 22585 => 1 3197 => 1 9403 => 1 23308 => 1 10221 => 1 7106 => 1 17283 => 1 8998 => 1 11448 => 1 2315 => 1 12353 => 1 26515 => 1 18472 => 1 15604 => 1 21870 => 1 9755 => 1 25485 => 1 1119 => 1 7603 => 1 21407 => 1 21630 => 1 21370 => 1 8878 => 1 10315 => 1 11787 => 1 16035 => 1 20247 => 1 13244 => 1 ] |
| wishlist | [ 3685 18525 6574 17860 9822 21076 22152 9534 17856 9568 6323 8539 4068 3669 7079 7308 9583 3356 7876 9249 7592 2849 12271 25541 8753 5669 3053 3483 5607 21702 1297 8690 8658 4332 5350 6575 4663 7430 28098 9110 22006 9463 17819 28050 9404 22264 7213 5207 8330 25901 4133 8256 2387 25533 1633 4060 9458 7533 3245 7808 24952 7732 3476 1008 5290 1891 8607 3703 7530 5121 1383 23728 8103 2195 5677 1044 8058 8055 11272 9850 6426 4301 4837 24934 5170 21028 1901 7841 7707 8723 6918 11279 6734 14935 7065 6324 5944 3729 10263 4049 3487 5100 12342 21322 4982 2085 13403 5353 3366 15541 7436 6347 4767 9341 1508 12430 24401 24937 4119 11091 6035 2789 6709 15544 5952 11531 4110 20802 1399 1273 9475 7534 5205 7095 9849 11208 18802 7176 23747 7086 2203 7537 8100 12705 23784 9545 1680 1863 5485 432 1872 7905 21085 12468 3840 2352 9795 1365 1291 24903 4039 8669 6418 9558 21187 5300 4015 7938 7522 3516 7749 7750 12934 1845 7209 6320 21083 9560 1801 22571 11552 18372 18345 6400 23710 11045 7208 15344 3869 28347 9053 6530 11287 28404 5210 8252 5405 21072 3829 9800 8524 7879 8670 28341 18409 25527 7593 7913 6736 7703 1126 2065 12802 972 17488 4038 17825 25486 7943 4950 1695 1865 6016 8713 4647 7388 6368 5247 11083 6847 ] |
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_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 |
|---|---|
| APP_DEBUG | "1" |
| 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 | "sf_redirect=%7B%22token%22%3A%22c7a83a%22%2C%22route%22%3A%22app_wishlist_add%22%2C%22method%22%3A%22GET%22%2C%22controller%22%3A%7B%22class%22%3A%22App%5C%5CController%5C%5CWishlistController%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%2FWishlistController.php%22%2C%22line%22%3A15%7D%2C%22status_code%22%3A302%2C%22status_text%22%3A%22Found%22%7D; PHPSESSID=99nk0gtu9494apc5abs34kpsk0" |
| HTTP_HOST | "shop.devlaboratory.es" |
| 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://shop.devlaboratory.es/cart/add/13244" |
| REDIRECT_SCRIPT_URL | "/cart/add/13244" |
| REDIRECT_SSL_TLS_SNI | "shop.devlaboratory.es" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/cart/add/13244" |
| REMOTE_ADDR | "216.73.217.38" |
| REMOTE_PORT | "39732" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1788023062 |
| REQUEST_TIME_FLOAT | 1788023062.4066 |
| REQUEST_URI | "/cart/add/13244" |
| SCRIPT_FILENAME | "/var/www/html/shop/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SCRIPT_URI | "https://shop.devlaboratory.es/cart/add/13244" |
| SCRIPT_URL | "/cart/add/13244" |
| SERVER_ADDR | "148.113.201.140" |
| SERVER_ADMIN | "[no address given]" |
| SERVER_NAME | "shop.devlaboratory.es" |
| SERVER_PORT | "443" |
| SERVER_PROTOCOL | "HTTP/1.1" |
| SERVER_SIGNATURE | "<address>Apache/2.4.62 (Ubuntu) Server at shop.devlaboratory.es Port 443</address>\n" |
| SERVER_SOFTWARE | "Apache/2.4.62 (Ubuntu)" |
| SSL_TLS_SNI | "shop.devlaboratory.es" |
| SYMFONY_DOTENV_VARS | "APP_ENV,APP_SECRET,APP_SHARE_DIR,DEFAULT_URI,DATABASE_URL,MAILER_DSN,GEMINI_API_KEY,GEMINI_MODEL" |