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" => "24362" ] |
| _stopwatch_token | "62d6b1" |
| id | "24362" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "sf_redirect=%7B%22token%22%3A%22148288%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=qmnlded547l2g0l4vmgrbj67jk" |
| 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 16:24:13 GMT" |
| location | "/cart" |
| x-debug-token | "478562" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "qmnlded547l2g0l4vmgrbj67jk" |
| sf_redirect | "{"token":"148288","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 16:23:28 +0000" |
| Last used | "Sat, 29 Aug 26 16:24:13 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| cart | [ 3894 => 1 26734 => 1 14433 => 1 14017 => 1 26737 => 1 1216 => 1 18294 => 1 1718 => 1 20566 => 1 13729 => 1 13281 => 1 15023 => 1 20526 => 1 15903 => 1 5538 => 1 4194 => 1 19217 => 1 22994 => 1 4257 => 1 11191 => 1 16463 => 1 15546 => 1 11124 => 1 3298 => 1 2439 => 1 1694 => 1 13873 => 1 17253 => 1 5513 => 1 11056 => 1 23714 => 1 1205 => 1 5457 => 1 24307 => 1 20864 => 1 11954 => 1 1619 => 1 12679 => 1 1468 => 1 2456 => 1 5578 => 1 1320 => 1 1339 => 1 6230 => 1 13644 => 1 11375 => 1 13465 => 1 18975 => 1 1359 => 1 25679 => 1 24602 => 1 2171 => 1 14469 => 1 24115 => 1 3709 => 1 1812 => 1 3427 => 1 20531 => 1 3742 => 1 10196 => 1 7062 => 1 18947 => 1 17258 => 1 11779 => 1 6542 => 1 3761 => 1 9330 => 1 7998 => 1 18946 => 1 22185 => 1 26958 => 1 11463 => 1 23671 => 1 20690 => 1 1312 => 1 13995 => 1 24950 => 1 25218 => 1 24685 => 1 22872 => 1 1326 => 1 23788 => 1 1210 => 1 13669 => 1 25610 => 1 1171 => 1 14839 => 1 1319 => 1 2362 => 1 12563 => 1 9284 => 1 26880 => 1 14778 => 1 26918 => 1 25796 => 1 8206 => 1 27772 => 1 22365 => 1 2645 => 1 13399 => 1 16446 => 1 14508 => 1 22899 => 1 21182 => 1 25115 => 1 14428 => 1 12504 => 1 16052 => 1 23150 => 1 17088 => 1 28134 => 1 5566 => 1 20256 => 1 26802 => 1 21622 => 1 20708 => 1 3762 => 1 27563 => 1 24121 => 1 18326 => 1 721 => 1 22227 => 1 5180 => 1 26686 => 1 10696 => 1 18949 => 1 1362 => 1 25665 => 1 24384 => 1 20955 => 1 1614 => 1 6673 => 1 22074 => 1 14255 => 1 23545 => 1 18325 => 1 20672 => 1 25008 => 1 24966 => 1 23666 => 1 13170 => 1 13290 => 1 23445 => 1 17438 => 1 8609 => 1 10207 => 1 10265 => 1 23706 => 1 9922 => 1 9500 => 1 14253 => 1 22116 => 1 5361 => 1 15020 => 1 22220 => 1 12181 => 1 8500 => 1 16724 => 1 22606 => 1 11508 => 1 26784 => 1 22895 => 1 23472 => 1 1315 => 1 26978 => 1 3414 => 1 19214 => 1 28130 => 1 23624 => 1 25672 => 1 10248 => 1 26664 => 1 19252 => 1 19079 => 1 12103 => 1 17020 => 1 18358 => 1 19211 => 1 24568 => 1 5942 => 1 14068 => 1 21629 => 1 26622 => 1 14252 => 1 11013 => 1 18700 => 1 14258 => 1 4104 => 1 20716 => 1 15656 => 1 26682 => 1 20717 => 1 14866 => 1 20675 => 1 14112 => 1 23368 => 1 13405 => 1 11002 => 1 4120 => 1 16723 => 1 15314 => 1 15710 => 1 22146 => 1 9074 => 1 18962 => 1 9946 => 1 1217 => 1 24141 => 1 8198 => 1 10202 => 1 9555 => 1 5515 => 1 15635 => 1 22894 => 1 24052 => 1 22591 => 1 14817 => 1 10901 => 1 3488 => 1 18571 => 1 26710 => 1 11157 => 1 12170 => 1 17148 => 1 10642 => 1 2622 => 1 1947 => 1 14153 => 1 25141 => 1 5107 => 1 19236 => 1 26604 => 1 25826 => 1 19290 => 1 12446 => 1 11529 => 1 24102 => 1 1814 => 1 18865 => 1 18561 => 1 20715 => 1 25111 => 1 23141 => 1 2628 => 1 6996 => 1 17420 => 1 13540 => 1 2361 => 1 1178 => 1 24619 => 1 10703 => 1 15832 => 1 23176 => 1 14032 => 1 11671 => 1 24491 => 1 17052 => 1 9984 => 1 14772 => 1 22473 => 1 17004 => 1 9160 => 1 21739 => 1 24362 => 1 ] |
| wishlist | [ 6541 24940 750 2286 724 2933 7300 22883 1000 4121 766 6929 9645 1189 3772 3785 28142 3744 3065 8568 23707 1809 3741 16342 14722 5359 17136 3403 5015 23745 24328 3497 20293 14775 21829 14697 13631 8046 22337 8536 2822 2571 23701 1200 13652 8709 9640 17992 3033 4096 5906 2875 1735 3182 4082 4670 13615 7577 3052 22261 25552 3181 8595 26232 3339 9010 3876 2992 1328 24967 15946 9853 3687 3555 14756 9591 18679 7102 14972 11291 14749 23735 10686 7230 7313 17201 23802 2947 7216 3032 1373 777 3722 3074 14737 4289 16664 3774 4093 7777 15909 14565 3485 9628 1889 5576 14501 3463 3732 8036 4613 23764 20488 2132 1679 25481 28055 711 7246 12433 14736 5358 9072 1372 6916 15501 19352 22893 1341 10073 1344 9192 21045 5583 7376 5572 9870 15089 13445 1885 6905 5585 958 6359 2573 8618 12440 3798 24409 17827 5381 1887 937 23337 1369 13686 ] |
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%22148288%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=qmnlded547l2g0l4vmgrbj67jk" |
| 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/24362" |
| REDIRECT_SCRIPT_URL | "/cart/add/24362" |
| REDIRECT_SSL_TLS_SNI | "shop.devlaboratory.es" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/cart/add/24362" |
| REMOTE_ADDR | "216.73.217.38" |
| REMOTE_PORT | "58806" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1788020653 |
| REQUEST_TIME_FLOAT | 1788020653.2256 |
| REQUEST_URI | "/cart/add/24362" |
| SCRIPT_FILENAME | "/var/www/html/shop/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SCRIPT_URI | "https://shop.devlaboratory.es/cart/add/24362" |
| SCRIPT_URL | "/cart/add/24362" |
| 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" |