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" => "2737" ] |
| _stopwatch_token | "4b9090" |
| id | "2737" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "sf_redirect=%7B%22token%22%3A%22eacdef%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=ojqdrlf6e923q79n1aeujjl98o" |
| 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:33:15 GMT" |
| location | "/cart" |
| x-debug-token | "4d87bf" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "ojqdrlf6e923q79n1aeujjl98o" |
| sf_redirect | "{"token":"eacdef","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:32:37 +0000" |
| Last used | "Sat, 29 Aug 26 13:33:15 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| cart | [ 17841 => 1 4087 => 1 3155 => 1 3041 => 1 4084 => 1 5350 => 1 4092 => 1 18686 => 1 5368 => 1 18682 => 1 1746 => 1 9374 => 1 1439 => 1 21676 => 1 3117 => 1 10467 => 1 5314 => 1 9624 => 1 13795 => 1 9825 => 1 9778 => 1 7794 => 1 17620 => 1 6648 => 1 13653 => 1 20516 => 1 7850 => 1 12425 => 1 4268 => 1 11883 => 1 8134 => 1 21499 => 1 1750 => 1 13340 => 1 28338 => 1 12833 => 1 28346 => 1 8883 => 1 2316 => 1 6070 => 1 1890 => 1 7562 => 1 9626 => 1 9693 => 1 6843 => 1 3623 => 1 9005 => 1 1405 => 1 12249 => 1 17551 => 1 5590 => 1 5214 => 1 5333 => 1 21887 => 1 2468 => 1 9862 => 1 28308 => 1 19797 => 1 12852 => 1 19178 => 1 20523 => 1 8840 => 1 28340 => 1 2093 => 1 20980 => 1 20518 => 1 4705 => 1 22182 => 1 11034 => 1 17657 => 1 12669 => 1 8267 => 1 9781 => 1 18458 => 1 11270 => 1 13780 => 1 10508 => 1 9202 => 1 1432 => 1 10437 => 1 2323 => 1 21144 => 1 1234 => 1 9815 => 1 17680 => 1 13692 => 1 15938 => 1 7981 => 1 5197 => 1 17372 => 1 3896 => 1 13892 => 1 10146 => 1 21101 => 1 20746 => 1 7222 => 1 6713 => 1 13178 => 1 2962 => 1 1730 => 1 3031 => 1 8886 => 1 12779 => 1 11451 => 1 1703 => 1 1623 => 1 15948 => 1 18007 => 1 13951 => 1 7077 => 1 13508 => 1 5195 => 1 8417 => 1 6714 => 1 2307 => 1 1195 => 1 21002 => 1 20801 => 1 1796 => 1 6515 => 1 20844 => 1 12431 => 1 6704 => 1 16112 => 1 12804 => 1 21192 => 1 8146 => 1 4272 => 1 13709 => 1 8642 => 1 12463 => 1 1467 => 1 6172 => 1 10034 => 1 2049 => 1 11550 => 1 5910 => 1 5167 => 1 5287 => 1 21036 => 1 25463 => 1 6807 => 1 20299 => 1 22167 => 1 2534 => 1 4279 => 1 14099 => 1 7715 => 1 5913 => 1 8104 => 1 22707 => 1 3860 => 1 1638 => 1 18404 => 1 11698 => 1 8061 => 1 1036 => 1 12043 => 1 20539 => 1 2313 => 1 11973 => 1 21140 => 1 2055 => 1 9602 => 1 8853 => 1 2737 => 1 ] |
| wishlist | [ 7908 6485 3154 4079 28342 7987 8673 7447 6809 8348 9451 6499 6940 9802 8063 1802 5152 19306 7940 6776 10697 4033 9541 8733 4354 8792 4087 7632 8769 6463 6441 7969 23903 16656 6483 7410 7692 7797 17832 8065 28344 6444 3155 9544 6789 9565 2989 14745 8735 9263 3533 7952 7192 10656 3871 8129 6322 1969 5299 6328 944 6741 7445 6576 11468 4080 761 4574 3375 5124 8532 9540 11005 1202 6487 7776 4052 1114 ] |
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%22eacdef%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=ojqdrlf6e923q79n1aeujjl98o" |
| 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/2737" |
| REDIRECT_SCRIPT_URL | "/cart/add/2737" |
| REDIRECT_SSL_TLS_SNI | "shop.devlaboratory.es" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/cart/add/2737" |
| REMOTE_ADDR | "216.73.217.38" |
| REMOTE_PORT | "36086" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1788010394 |
| REQUEST_TIME_FLOAT | 1788010394.5066 |
| REQUEST_URI | "/cart/add/2737" |
| SCRIPT_FILENAME | "/var/www/html/shop/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SCRIPT_URI | "https://shop.devlaboratory.es/cart/add/2737" |
| SCRIPT_URL | "/cart/add/2737" |
| 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" |