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" => "17486" ] |
| _stopwatch_token | "400f1c" |
| id | "17486" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "PHPSESSID=s72qbborme2lu0ve87l1djq04n" |
| host | "mipeluco.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 | "Mon, 31 Aug 2026 09:42:40 GMT" |
| location | "/cart" |
| x-debug-token | "4b5b4d" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "s72qbborme2lu0ve87l1djq04n" |
Response Cookies
No response cookies
Session 2
Session Metadata
| Key | Value |
|---|---|
| Created | "Mon, 31 Aug 26 09:41:53 +0000" |
| Last used | "Mon, 31 Aug 26 09:42:40 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| cart | [ 7300 => 1 24985 => 1 10552 => 1 1809 => 1 28147 => 1 14697 => 1 3741 => 1 5976 => 1 21829 => 1 2822 => 1 8050 => 1 1000 => 1 4741 => 1 29192 => 1 8536 => 1 13652 => 1 7934 => 1 1735 => 1 7598 => 1 3740 => 1 9282 => 1 2928 => 1 2576 => 1 8015 => 1 2972 => 1 11652 => 1 28075 => 1 3555 => 1 5356 => 1 29657 => 1 29435 => 1 17809 => 1 8957 => 1 17201 => 1 4932 => 1 1373 => 1 3074 => 1 3774 => 1 29370 => 1 10909 => 1 7434 => 1 28372 => 1 5979 => 1 20599 => 1 5869 => 1 11029 => 1 19271 => 1 4722 => 1 2344 => 1 8519 => 1 14293 => 1 3885 => 1 2797 => 1 7033 => 1 22191 => 1 5940 => 1 21132 => 1 3172 => 1 9047 => 1 9003 => 1 1806 => 1 11616 => 1 2896 => 1 10641 => 1 23484 => 1 8196 => 1 9892 => 1 8090 => 1 7748 => 1 14979 => 1 21073 => 1 7916 => 1 4463 => 1 9837 => 1 4884 => 1 7845 => 1 5573 => 1 8036 => 1 3841 => 1 4539 => 1 1707 => 1 20271 => 1 2120 => 1 5908 => 1 20486 => 1 7757 => 1 23764 => 1 6877 => 1 3499 => 1 24930 => 1 5148 => 1 25944 => 1 6479 => 1 1045 => 1 3241 => 1 14992 => 1 5216 => 1 1072 => 1 6191 => 1 3067 => 1 28096 => 1 25972 => 1 1670 => 1 14239 => 1 4345 => 1 25941 => 1 7336 => 1 7918 => 1 13409 => 1 8384 => 1 28237 => 1 26465 => 1 2132 => 1 9632 => 1 903 => 1 8475 => 1 25901 => 1 1871 => 1 28055 => 1 7219 => 1 14599 => 1 6087 => 1 6867 => 1 9049 => 1 8760 => 1 8754 => 1 4133 => 1 5358 => 1 8798 => 1 7246 => 1 8016 => 1 24201 => 1 4256 => 1 1372 => 1 1891 => 1 11073 => 1 1945 => 1 6459 => 1 1669 => 1 21028 => 1 6916 => 1 28255 => 1 10089 => 1 9850 => 1 22893 => 1 7808 => 1 11201 => 1 24934 => 1 11265 => 1 12950 => 1 742 => 1 4723 => 1 5290 => 1 15366 => 1 26953 => 1 167 => 1 8330 => 1 11531 => 1 11482 => 1 6918 => 1 15545 => 1 7960 => 1 26005 => 1 4335 => 1 2195 => 1 24271 => 1 3748 => 1 5170 => 1 8672 => 1 23784 => 1 5699 => 1 12949 => 1 1289 => 1 28580 => 1 8058 => 1 8586 => 1 936 => 1 7732 => 1 24401 => 1 2179 => 1 11432 => 1 3487 => 1 14933 => 1 5895 => 1 7530 => 1 5677 => 1 5121 => 1 2369 => 1 25342 => 1 10263 => 1 4804 => 1 4301 => 1 26730 => 1 7065 => 1 7841 => 1 9702 => 1 8103 => 1 5791 => 1 6347 => 1 7095 => 1 1344 => 1 3048 => 1 4767 => 1 7631 => 1 9119 => 1 13403 => 1 7325 => 1 9849 => 1 4241 => 1 7080 => 1 8148 => 1 4240 => 1 9795 => 1 25979 => 1 7436 => 1 4119 => 1 1273 => 1 25263 => 1 23747 => 1 2085 => 1 15565 => 1 1872 => 1 2890 => 1 2937 => 1 1291 => 1 2352 => 1 6550 => 1 1013 => 1 19040 => 1 15541 => 1 3840 => 1 17866 => 1 9341 => 1 15544 => 1 21085 => 1 21083 => 1 3326 => 1 3516 => 1 918 => 1 24903 => 1 3523 => 1 28264 => 1 29583 => 1 11552 => 1 4729 => 1 3704 => 1 18352 => 1 28577 => 1 29079 => 1 7905 => 1 20802 => 1 24955 => 1 6418 => 1 4896 => 1 5886 => 1 3869 => 1 2479 => 1 6905 => 1 7938 => 1 2355 => 1 2836 => 1 28090 => 1 23693 => 1 5102 => 1 1015 => 1 5159 => 1 21072 => 1 7327 => 1 7568 => 1 23710 => 1 8100 => 1 26971 => 1 28404 => 1 3158 => 1 22952 => 1 4747 => 1 1706 => 1 3887 => 1 14580 => 1 6233 => 1 7085 => 1 22835 => 1 3435 => 1 18403 => 1 4746 => 1 17486 => 1 ] |
| wishlist | [ 5271 2019 13664 8301 8976 7461 5263 6567 9182 8906 434 5136 5083 ] |
Session Usage
2
Usages
Stateless check enabled
| Usage |
|---|
App\Service\CartService:34
[
[
"file" => "/var/www/html/shop/src/Service/CartService.php"
"line" => 34
"function" => "get"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/var/www/html/shop/src/Controller/CartController.php"
"line" => 44
"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:42
[
[
"file" => "/var/www/html/shop/src/Service/CartService.php"
"line" => 42
"function" => "set"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/var/www/html/shop/src/Controller/CartController.php"
"line" => 44
"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_DEBUG | "1" |
| 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 |
|---|---|
| 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=s72qbborme2lu0ve87l1djq04n" |
| HTTP_HOST | "mipeluco.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://mipeluco.devlaboratory.es/cart/add/17486" |
| REDIRECT_SCRIPT_URL | "/cart/add/17486" |
| REDIRECT_SSL_TLS_SNI | "mipeluco.devlaboratory.es" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/cart/add/17486" |
| REMOTE_ADDR | "216.73.217.38" |
| REMOTE_PORT | "60169" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1788169359 |
| REQUEST_TIME_FLOAT | 1788169359.4904 |
| REQUEST_URI | "/cart/add/17486" |
| SCRIPT_FILENAME | "/var/www/html/shop/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SCRIPT_URI | "https://mipeluco.devlaboratory.es/cart/add/17486" |
| SCRIPT_URL | "/cart/add/17486" |
| SERVER_ADDR | "148.113.201.140" |
| SERVER_ADMIN | "[no address given]" |
| SERVER_NAME | "mipeluco.devlaboratory.es" |
| SERVER_PORT | "443" |
| SERVER_PROTOCOL | "HTTP/1.1" |
| SERVER_SIGNATURE | "<address>Apache/2.4.62 (Ubuntu) Server at mipeluco.devlaboratory.es Port 443</address>\n" |
| SERVER_SOFTWARE | "Apache/2.4.62 (Ubuntu)" |
| SSL_TLS_SNI | "mipeluco.devlaboratory.es" |
| SYMFONY_DOTENV_VARS | "APP_ENV,APP_SECRET,APP_SHARE_DIR,APP_DEBUG,DEFAULT_URI,DATABASE_URL,MAILER_DSN,STRIPE_PUBLIC_KEY,STRIPE_SECRET_KEY,GEMINI_API_KEY,GEMINI_MODEL" |