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" => "25996" ] |
| _stopwatch_token | "51d8ca" |
| id | "25996" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "PHPSESSID=dikugor56t6l0tut0tpogud567; sf_redirect=%7B%22token%22%3A%227d536a%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 | "Sat, 29 Aug 2026 20:29:03 GMT" |
| location | "/cart" |
| x-debug-token | "8a5d3c" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "dikugor56t6l0tut0tpogud567" |
| sf_redirect | "{"token":"7d536a","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 | "Sat, 29 Aug 26 20:27:59 +0000" |
| Last used | "Sat, 29 Aug 26 20:29:03 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| cart | [ 9395 => 1 17953 => 1 12613 => 1 1548 => 1 10500 => 1 28411 => 1 11719 => 1 27037 => 1 10151 => 1 14606 => 1 6564 => 1 13506 => 1 17749 => 1 19024 => 1 27225 => 1 24230 => 1 21507 => 1 10509 => 1 16874 => 1 8054 => 1 11377 => 1 12610 => 1 6275 => 1 12639 => 1 22556 => 1 11849 => 1 21515 => 1 19268 => 1 21356 => 1 25188 => 1 13529 => 1 14122 => 1 10736 => 1 10276 => 1 7677 => 1 23763 => 1 14364 => 1 21455 => 1 22139 => 1 21495 => 1 10920 => 1 13118 => 1 26338 => 1 19437 => 1 26252 => 1 13070 => 1 18863 => 1 21000 => 1 12111 => 1 15286 => 1 21133 => 1 22826 => 1 21313 => 1 21661 => 1 21560 => 1 15355 => 1 5687 => 1 9988 => 1 13922 => 1 19839 => 1 12638 => 1 9139 => 1 11392 => 1 17730 => 1 13417 => 1 16127 => 1 18500 => 1 26004 => 1 18089 => 1 25996 => 1 ] |
| wishlist | [ 14795 19624 11980 4325 21024 27328 22865 23638 5954 12380 5719 13683 26538 23630 6218 10027 8457 13181 1278 9382 5526 2578 6343 2513 22208 25638 19302 13433 15970 22769 8117 12259 6676 13329 2066 1719 5193 20798 12830 9466 1713 11952 14464 7894 4327 10669 2738 1710 24029 18528 13694 11227 17043 15974 7827 10362 23562 10586 17637 7379 17658 12609 2601 8190 3827 9277 9167 11024 13872 20867 10183 13796 2739 8984 10683 1094 13844 8204 16283 4090 3118 20924 13071 18153 18708 10840 1219 1857 7105 15699 12154 22918 22916 12334 13193 4706 14341 6689 13100 2743 26513 17259 13265 13362 11225 23405 8890 2057 21734 1331 16544 14637 5631 20846 20574 23567 23588 2217 12868 25210 20995 23121 23677 4761 15960 11795 7177 4118 2665 7257 17787 5678 ] |
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=dikugor56t6l0tut0tpogud567; sf_redirect=%7B%22token%22%3A%227d536a%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/25996" |
| REDIRECT_SCRIPT_URL | "/cart/add/25996" |
| REDIRECT_SSL_TLS_SNI | "shop.devlaboratory.es" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/cart/add/25996" |
| REMOTE_ADDR | "216.73.217.38" |
| REMOTE_PORT | "30392" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1788035343 |
| REQUEST_TIME_FLOAT | 1788035343.6353 |
| REQUEST_URI | "/cart/add/25996" |
| SCRIPT_FILENAME | "/var/www/html/shop/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SCRIPT_URI | "https://shop.devlaboratory.es/cart/add/25996" |
| SCRIPT_URL | "/cart/add/25996" |
| 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" |