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" => "4991" ] |
| _stopwatch_token | "6f66ad" |
| id | "4991" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "sf_redirect=%7B%22token%22%3A%221da937%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; PHPSESSID=a3rd2o6kk9h3me89kqgmi40lnm" |
| 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 13:34:33 GMT" |
| location | "/cart" |
| x-debug-token | "045695" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "a3rd2o6kk9h3me89kqgmi40lnm" |
| sf_redirect | "{"token":"1da937","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, 29 Aug 26 13:34:02 +0000" |
| Last used | "Sat, 29 Aug 26 13:34:33 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| cart | [ 10162 => 1 5497 => 1 1911 => 1 13649 => 1 16387 => 1 13648 => 1 9990 => 1 16475 => 1 9084 => 1 12221 => 1 6109 => 1 10215 => 1 8662 => 1 8605 => 1 13137 => 1 21286 => 1 20920 => 1 18745 => 1 16467 => 1 18735 => 1 21335 => 1 13783 => 1 16370 => 1 21544 => 1 8589 => 1 22552 => 1 11302 => 1 8688 => 1 11310 => 1 7911 => 1 11313 => 1 12455 => 1 24543 => 1 15712 => 1 10830 => 1 18167 => 1 6686 => 1 21222 => 1 6226 => 1 16119 => 1 21352 => 1 21406 => 1 21839 => 1 8110 => 1 1381 => 1 10922 => 1 22212 => 1 12808 => 1 13072 => 1 12857 => 1 1117 => 1 11683 => 1 18570 => 1 22849 => 1 9088 => 1 12633 => 1 5123 => 1 3321 => 1 1988 => 1 11975 => 1 8452 => 1 1477 => 1 12079 => 1 2742 => 1 23530 => 1 21726 => 1 13063 => 1 9320 => 1 22768 => 1 8270 => 1 22108 => 1 13083 => 1 6214 => 1 14358 => 1 13240 => 1 21228 => 1 13850 => 1 15482 => 1 20839 => 1 21277 => 1 21395 => 1 11100 => 1 17783 => 1 12667 => 1 12989 => 1 17244 => 1 21274 => 1 8119 => 1 20756 => 1 13140 => 1 13143 => 1 18744 => 1 11183 => 1 10200 => 1 19301 => 1 9993 => 1 7179 => 1 9318 => 1 12648 => 1 21579 => 1 10267 => 1 10694 => 1 1131 => 1 13157 => 1 15717 => 1 18740 => 1 7087 => 1 21042 => 1 12209 => 1 11732 => 1 13830 => 1 10462 => 1 2561 => 1 10414 => 1 10214 => 1 21533 => 1 14004 => 1 25467 => 1 20925 => 1 13079 => 1 13087 => 1 8118 => 1 21081 => 1 22269 => 1 20807 => 1 12176 => 1 21253 => 1 12703 => 1 17414 => 1 7001 => 1 9805 => 1 13800 => 1 19172 => 1 12113 => 1 4991 => 1 ] |
| wishlist | [ 6718 6760 8400 8666 17686 5664 12686 13461 7439 4267 9016 9294 1386 14219 6926 11545 9307 6834 21080 1208 3707 7215 11253 23657 9385 7560 16124 7438 5622 7408 5628 1895 6708 1740 9495 6848 11976 19611 5595 8715 12871 11481 8308 18682 2219 22233 3875 2733 2587 8056 2599 3116 7559 23640 6181 3495 12918 21095 7444 7874 8407 9796 7917 1648 8478 1733 8455 3696 1353 9115 3853 3346 28307 1708 8402 10657 5332 10993 7442 9618 7877 5465 5313 10033 2569 8668 1028 5310 2064 18461 6424 16487 2856 11085 1301 24142 10145 6739 8620 1252 2843 6716 4027 6414 8889 6466 8544 8746 4452 7413 1698 20529 7419 7284 1932 12337 8378 14720 8066 21797 1864 2329 10035 16129 9818 8057 19622 12682 6925 8336 9465 7084 8771 6570 3266 4116 16441 7875 22157 12693 7223 2580 22008 8612 19632 3594 5577 21077 2382 2925 8494 3388 9566 3715 9218 5528 15972 23635 10140 9823 10328 7030 1476 23319 26436 21053 7206 5189 17693 11248 1380 6407 5649 2735 26697 8418 3847 6084 5553 10465 7424 6314 11246 11540 15941 ] |
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%221da937%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; PHPSESSID=a3rd2o6kk9h3me89kqgmi40lnm" |
| 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/4991" |
| REDIRECT_SCRIPT_URL | "/cart/add/4991" |
| REDIRECT_SSL_TLS_SNI | "shop.devlaboratory.es" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/cart/add/4991" |
| REMOTE_ADDR | "216.73.217.38" |
| REMOTE_PORT | "33212" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1788010473 |
| REQUEST_TIME_FLOAT | 1788010473.4242 |
| REQUEST_URI | "/cart/add/4991" |
| SCRIPT_FILENAME | "/var/www/html/shop/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SCRIPT_URI | "https://shop.devlaboratory.es/cart/add/4991" |
| SCRIPT_URL | "/cart/add/4991" |
| 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" |