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" |
| _route | "app_cart_add" |
| _route_params | [ "id" => "16922" ] |
| _stopwatch_token | "73d487" |
| id | "16922" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "PHPSESSID=n47173f7h08rm4mh0fdiheafo1" |
| 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 17:51:27 GMT" |
| location | "/cart" |
| x-debug-token | "de08ab" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "n47173f7h08rm4mh0fdiheafo1" |
Response Cookies
No response cookies
Session 2
Session Metadata
| Key | Value |
|---|---|
| Created | "Sat, 29 Aug 26 17:50:30 +0000" |
| Last used | "Sat, 29 Aug 26 17:51:27 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| cart | [ 369 => 1 4591 => 1 17580 => 1 17534 => 1 696 => 1 35 => 1 2005 => 1 17524 => 1 765 => 1 348 => 1 17531 => 1 968 => 1 145 => 1 3979 => 1 417 => 1 448 => 1 976 => 1 978 => 1 13636 => 1 13596 => 1 446 => 1 172 => 1 694 => 1 16319 => 1 3940 => 1 406 => 1 3977 => 1 2009 => 1 25751 => 1 3301 => 1 3968 => 1 7263 => 1 107 => 1 3988 => 1 105 => 1 11202 => 1 7101 => 1 7142 => 1 11751 => 1 728 => 1 5239 => 1 971 => 1 695 => 1 4680 => 1 869 => 1 4071 => 1 3073 => 1 737 => 1 734 => 1 7979 => 1 10643 => 1 7963 => 1 7965 => 1 8974 => 1 3583 => 1 24973 => 1 2045 => 1 832 => 1 7597 => 1 5487 => 1 7933 => 1 25367 => 1 8967 => 1 24166 => 1 3771 => 1 8546 => 1 7066 => 1 7591 => 1 7986 => 1 7294 => 1 5489 => 1 8035 => 1 13620 => 1 22682 => 1 7501 => 1 24979 => 1 4429 => 1 5491 => 1 2835 => 1 4422 => 1 19906 => 1 6977 => 1 7982 => 1 24969 => 1 7097 => 1 28035 => 1 3756 => 1 23866 => 1 974 => 1 964 => 1 3763 => 1 977 => 1 24980 => 1 6282 => 1 7950 => 1 11207 => 1 7186 => 1 7975 => 1 4411 => 1 7100 => 1 6984 => 1 6300 => 1 7265 => 1 4467 => 1 965 => 1 3769 => 1 7937 => 1 6879 => 1 7044 => 1 2389 => 1 15280 => 1 8650 => 1 2953 => 1 4346 => 1 3764 => 1 2391 => 1 3064 => 1 13201 => 1 6746 => 1 26937 => 1 26909 => 1 4176 => 1 7274 => 1 3240 => 1 2830 => 1 4649 => 1 7612 => 1 5504 => 1 26464 => 1 10397 => 1 7008 => 1 3049 => 1 3067 => 1 28037 => 1 3046 => 1 9299 => 1 3469 => 1 24968 => 1 2984 => 1 5252 => 1 5159 => 1 3887 => 1 7276 => 1 6294 => 1 11235 => 1 11233 => 1 1340 => 1 28036 => 1 4425 => 1 25876 => 1 14873 => 1 5472 => 1 3780 => 1 5579 => 1 7241 => 1 26906 => 1 4140 => 1 3790 => 1 8437 => 1 5569 => 1 13142 => 1 3682 => 1 3327 => 1 25873 => 1 3104 => 1 11228 => 1 2540 => 1 8007 => 1 25932 => 1 23746 => 1 16320 => 1 22684 => 1 3518 => 1 4462 => 1 22685 => 1 5586 => 1 14929 => 1 3736 => 1 2022 => 1 8988 => 1 811 => 1 6236 => 1 23591 => 1 20993 => 1 6265 => 1 3848 => 1 28155 => 1 1349 => 1 21671 => 1 20550 => 1 11292 => 1 1444 => 1 20549 => 1 1350 => 1 11971 => 1 6229 => 1 12754 => 1 3760 => 1 8617 => 1 2047 => 1 10053 => 1 2046 => 1 11096 => 1 7098 => 1 25934 => 1 15964 => 1 25568 => 1 5968 => 1 26577 => 1 11484 => 1 3406 => 1 2957 => 1 15799 => 1 17792 => 1 12841 => 1 23797 => 1 28141 => 1 23540 => 1 8543 => 1 3436 => 1 16341 => 1 16299 => 1 15928 => 1 21660 => 1 21883 => 1 9217 => 1 2550 => 1 1803 => 1 23255 => 1 7303 => 1 2038 => 1 5510 => 1 5813 => 1 24196 => 1 23581 => 1 26425 => 1 8559 => 1 8893 => 1 2044 => 1 23889 => 1 26466 => 1 9214 => 1 4731 => 1 17463 => 1 9332 => 1 1448 => 1 16288 => 1 14890 => 1 11792 => 1 13312 => 1 19573 => 1 3413 => 1 2396 => 1 9137 => 1 14920 => 1 13015 => 1 13307 => 1 3694 => 1 18145 => 1 7026 => 1 11965 => 1 5966 => 1 11999 => 1 24347 => 1 3042 => 1 23302 => 1 26879 => 1 24205 => 1 13447 => 1 26388 => 1 11933 => 1 28111 => 1 11969 => 1 20853 => 1 5519 => 1 23669 => 1 13306 => 1 12573 => 1 25101 => 1 10384 => 1 18563 => 1 11213 => 1 1026 => 1 2672 => 1 16291 => 1 12600 => 1 4143 => 1 6235 => 1 22801 => 1 12796 => 1 16901 => 1 22771 => 1 16944 => 1 21837 => 1 10416 => 1 1327 => 1 25927 => 1 9410 => 1 21664 => 1 3415 => 1 27907 => 1 23456 => 1 9304 => 1 25733 => 1 21291 => 1 26828 => 1 17418 => 1 13141 => 1 5517 => 1 6228 => 1 9598 => 1 25856 => 1 10880 => 1 25612 => 1 16340 => 1 26877 => 1 20218 => 1 24302 => 1 25384 => 1 18012 => 1 25878 => 1 12100 => 1 18141 => 1 16922 => 1 ] |
| wishlist | [ 369 4591 17580 17534 696 35 2005 17524 765 348 17531 968 3979 145 417 448 976 978 13636 13596 446 172 16319 694 3940 406 3977 2009 3301 25751 3968 7263 3988 11202 107 105 7101 7142 11751 971 5239 728 695 4680 869 4071 3073 737 734 7979 7963 10643 7965 8974 3583 832 24973 2045 7597 5487 7933 25367 8967 3771 7066 24166 7986 7591 7294 8035 8546 5489 7501 13620 24979 22682 4429 5491 2835 7982 6977 19906 7097 4422 28035 964 977 974 24969 3763 24980 3756 23866 11207 7100 7950 7975 4411 7186 6984 6282 7265 965 6300 4467 7937 6879 3769 7044 2389 15280 2953 4346 8650 2391 3764 3064 13201 6746 4176 26937 26909 7274 2830 7612 3240 ] |
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 | "PHPSESSID=n47173f7h08rm4mh0fdiheafo1" |
| 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/16922" |
| REDIRECT_SCRIPT_URL | "/cart/add/16922" |
| REDIRECT_SSL_TLS_SNI | "shop.devlaboratory.es" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/cart/add/16922" |
| REMOTE_ADDR | "216.73.217.38" |
| REMOTE_PORT | "31546" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1788025886 |
| REQUEST_TIME_FLOAT | 1788025886.66 |
| REQUEST_URI | "/cart/add/16922" |
| SCRIPT_FILENAME | "/var/www/html/shop/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SCRIPT_URI | "https://shop.devlaboratory.es/cart/add/16922" |
| SCRIPT_URL | "/cart/add/16922" |
| 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" |