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" => "21138" ] |
| _stopwatch_token | "59a09b" |
| id | "21138" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "PHPSESSID=fquerskskmenmmgi9jjeq6ocat; sf_redirect=%7B%22token%22%3A%221afa65%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 | "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 20:25:41 GMT" |
| location | "/cart" |
| x-debug-token | "5fd82f" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "fquerskskmenmmgi9jjeq6ocat" |
| sf_redirect | "{"token":"1afa65","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 20:24:40 +0000" |
| Last used | "Sat, 29 Aug 26 20:25:41 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| cart | [ 25018 => 1 25189 => 1 8721 => 1 22060 => 1 26045 => 1 26191 => 1 22273 => 1 13317 => 1 23197 => 1 6921 => 1 23377 => 1 11317 => 1 9315 => 1 13080 => 1 14274 => 1 14374 => 1 24387 => 1 8365 => 1 12088 => 1 6682 => 1 16349 => 1 10223 => 1 10161 => 1 19716 => 1 26653 => 1 11939 => 1 28198 => 1 11938 => 1 24694 => 1 21613 => 1 11770 => 1 13907 => 1 11913 => 1 3061 => 1 4021 => 1 18647 => 1 9391 => 1 26404 => 1 24370 => 1 22547 => 1 16089 => 1 15705 => 1 23104 => 1 24424 => 1 12335 => 1 21375 => 1 26503 => 1 17745 => 1 22187 => 1 20857 => 1 11358 => 1 18382 => 1 25173 => 1 7503 => 1 26893 => 1 19805 => 1 16585 => 1 6698 => 1 9938 => 1 11561 => 1 12694 => 1 12780 => 1 21754 => 1 13134 => 1 21610 => 1 12280 => 1 18050 => 1 5951 => 1 24895 => 1 21678 => 1 11694 => 1 6684 => 1 18030 => 1 1576 => 1 22026 => 1 21408 => 1 11845 => 1 14221 => 1 18026 => 1 8785 => 1 24832 => 1 12994 => 1 24295 => 1 16116 => 1 23333 => 1 14336 => 1 16958 => 1 17744 => 1 9078 => 1 12800 => 1 22127 => 1 17800 => 1 21346 => 1 10598 => 1 16894 => 1 18094 => 1 15714 => 1 22548 => 1 14111 => 1 13119 => 1 17327 => 1 11749 => 1 20825 => 1 1589 => 1 21284 => 1 21348 => 1 21392 => 1 25994 => 1 11943 => 1 13203 => 1 27774 => 1 21104 => 1 11910 => 1 26623 => 1 24711 => 1 1411 => 1 27967 => 1 27975 => 1 12462 => 1 9943 => 1 14648 => 1 12398 => 1 19723 => 1 12628 => 1 14246 => 1 167 => 1 12732 => 1 24189 => 1 24742 => 1 14167 => 1 19047 => 1 10023 => 1 9479 => 1 18587 => 1 19335 => 1 21382 => 1 18223 => 1 16197 => 1 26508 => 1 21469 => 1 9957 => 1 23408 => 1 19097 => 1 17398 => 1 28127 => 1 23068 => 1 28410 => 1 24382 => 1 16272 => 1 14018 => 1 19206 => 1 18771 => 1 23894 => 1 17688 => 1 14624 => 1 14209 => 1 14412 => 1 19848 => 1 12382 => 1 12408 => 1 10349 => 1 16959 => 1 18097 => 1 10722 => 1 10343 => 1 6643 => 1 26002 => 1 21154 => 1 20598 => 1 18527 => 1 21138 => 1 ] |
| wishlist | [ 6578 1337 17754 17002 12698 931 18010 9265 24286 1732 1892 1687 1081 7093 10591 5469 9345 24912 4478 2532 4369 5327 3038 14934 5273 7319 8209 1022 6543 9224 15745 8439 6766 4812 14877 13147 21176 3039 9024 18487 1384 26528 11048 1141 18059 18441 5767 20568 5630 9301 8423 9195 3056 6510 7513 5608 8382 9696 10480 6415 5128 6719 15935 25355 13591 6519 6247 1034 8410 7452 18138 22141 19794 1067 3222 4759 24320 9344 6725 1690 10679 3468 25864 27615 1050 5747 25348 8865 15550 21098 20747 25754 6338 1096 7211 25675 8220 17246 24883 9658 25792 9820 3743 10075 10050 15053 7557 16489 2393 7870 17022 7358 7720 1204 4442 7469 7566 5598 2084 22987 12355 2098 3713 11686 13490 10902 4457 22170 12844 6101 20591 1636 5284 3319 22962 21006 12872 5634 15701 24167 24593 20775 20570 7096 21092 9672 9866 18152 9907 2067 21050 27558 12410 8742 12413 9515 21741 16558 10375 25822 13124 1747 9757 24315 9052 2390 26780 3677 2792 2498 21701 26567 26547 20459 9446 6339 12786 17031 926 11784 11050 25828 5289 8214 9826 4778 5958 26575 9588 17032 14958 24704 23072 26985 2165 8424 12879 2096 7164 25459 6253 3268 2927 26529 4503 17075 8608 2214 25010 23503 14829 2795 25396 15046 13779 5959 2358 3024 1298 2931 24372 27010 10098 8158 3511 12933 4782 5918 16936 2496 8408 2100 24672 12396 26883 1820 19062 12474 ] |
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" => 27
"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" => 27
"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" |
| STRIPE_PUBLIC_KEY | "pk_test_51U9rIHFpB7qqLWWjhXhRjuVw0B6b2iOHaqzTSrZTBFCR1XrRNHVxjyhvXSPar3aB3BjxL75gio13vWFYg7kbnU9U00lyWEwZY0" |
| STRIPE_SECRET_KEY | "sk_test_51U9rIHFpB7qqLWWj5FtoN9lbrjiFAHJIUx1Z8oNfvfxeKlbordzbz4NEskmIEUzLCCLfGQW2baL40S7nna6yCwF800HxrhGZbb" |
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 | "PHPSESSID=fquerskskmenmmgi9jjeq6ocat; sf_redirect=%7B%22token%22%3A%221afa65%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 | "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/21138" |
| REDIRECT_SCRIPT_URL | "/cart/add/21138" |
| REDIRECT_SSL_TLS_SNI | "shop.devlaboratory.es" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/cart/add/21138" |
| REMOTE_ADDR | "216.73.217.38" |
| REMOTE_PORT | "16979" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1788035141 |
| REQUEST_TIME_FLOAT | 1788035141.5868 |
| REQUEST_URI | "/cart/add/21138" |
| SCRIPT_FILENAME | "/var/www/html/shop/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SCRIPT_URI | "https://shop.devlaboratory.es/cart/add/21138" |
| SCRIPT_URL | "/cart/add/21138" |
| 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,STRIPE_PUBLIC_KEY,STRIPE_SECRET_KEY,GEMINI_API_KEY,GEMINI_MODEL" |