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" => "11314" ] |
| _stopwatch_token | "7e0061" |
| id | "11314" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "PHPSESSID=dt0b1dosi1qdn9o61vbf8gf46a; sf_redirect=%7B%22token%22%3A%22b638b9%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" |
| 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 | "Sun, 30 Aug 2026 00:25:40 GMT" |
| location | "/cart" |
| x-debug-token | "7844b1" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "dt0b1dosi1qdn9o61vbf8gf46a" |
| sf_redirect | "{"token":"b638b9","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 | "Sun, 30 Aug 26 00:24:50 +0000" |
| Last used | "Sun, 30 Aug 26 00:25:40 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| cart | [ 12481 => 1 22929 => 1 17650 => 1 24729 => 1 17892 => 1 14396 => 1 14519 => 1 1167 => 1 11238 => 1 14499 => 1 5824 => 1 15949 => 1 20709 => 1 1736 => 1 8197 => 1 25447 => 1 14465 => 1 3054 => 1 6742 => 1 24252 => 1 23658 => 1 9644 => 1 14474 => 1 16581 => 1 20698 => 1 23288 => 1 7511 => 1 19220 => 1 15005 => 1 21909 => 1 1561 => 1 3410 => 1 19015 => 1 11587 => 1 15516 => 1 7839 => 1 26795 => 1 12558 => 1 4914 => 1 4122 => 1 6398 => 1 18709 => 1 5245 => 1 19590 => 1 18276 => 1 1823 => 1 21165 => 1 11396 => 1 9759 => 1 22981 => 1 20519 => 1 12952 => 1 14836 => 1 13876 => 1 18922 => 1 1213 => 1 16339 => 1 24564 => 1 17685 => 1 28061 => 1 20787 => 1 18964 => 1 22301 => 1 5825 => 1 10307 => 1 2357 => 1 19623 => 1 26872 => 1 8225 => 1 1304 => 1 26968 => 1 26865 => 1 10448 => 1 18974 => 1 24730 => 1 22245 => 1 20699 => 1 22241 => 1 19249 => 1 14512 => 1 19259 => 1 14838 => 1 3019 => 1 1184 => 1 25487 => 1 21174 => 1 15513 => 1 1160 => 1 17434 => 1 14566 => 1 14526 => 1 9979 => 1 14583 => 1 19003 => 1 1150 => 1 9987 => 1 17709 => 1 27997 => 1 5222 => 1 24016 => 1 14527 => 1 22471 => 1 22380 => 1 24637 => 1 24634 => 1 6381 => 1 24460 => 1 17402 => 1 19017 => 1 14388 => 1 24514 => 1 27613 => 1 14505 => 1 24830 => 1 19760 => 1 10007 => 1 17304 => 1 24651 => 1 23058 => 1 20313 => 1 18023 => 1 2751 => 1 23156 => 1 22498 => 1 18349 => 1 11314 => 1 ] |
| wishlist | [ 20752 7259 3981 726 2252 24944 2833 4265 2944 1371 6928 4448 7162 13624 6553 6763 17151 7366 7288 25985 6930 8775 24908 18985 17855 8622 23925 4783 4043 20745 21163 18779 24632 22378 14518 8864 6866 2730 22402 17249 ] |
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=dt0b1dosi1qdn9o61vbf8gf46a; sf_redirect=%7B%22token%22%3A%22b638b9%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" |
| 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/11314" |
| REDIRECT_SCRIPT_URL | "/cart/add/11314" |
| REDIRECT_SSL_TLS_SNI | "shop.devlaboratory.es" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/cart/add/11314" |
| REMOTE_ADDR | "216.73.217.38" |
| REMOTE_PORT | "48687" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1788049540 |
| REQUEST_TIME_FLOAT | 1788049540.6428 |
| REQUEST_URI | "/cart/add/11314" |
| SCRIPT_FILENAME | "/var/www/html/shop/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SCRIPT_URI | "https://shop.devlaboratory.es/cart/add/11314" |
| SCRIPT_URL | "/cart/add/11314" |
| 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" |