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" => "4793" ] |
| _stopwatch_token | "bfc1c9" |
| id | "4793" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "PHPSESSID=7sbulv9fbp93jhmr4936qlhdm7" |
| 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 07:04:56 GMT" |
| location | "/cart" |
| x-debug-token | "6e58e9" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "7sbulv9fbp93jhmr4936qlhdm7" |
Response Cookies
No response cookies
Session 2
Session Metadata
| Key | Value |
|---|---|
| Created | "Mon, 31 Aug 26 07:04:24 +0000" |
| Last used | "Mon, 31 Aug 26 07:04:56 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| cart | [ 7978 => 1 1865 => 1 23883 => 1 16243 => 1 19601 => 1 2903 => 1 28558 => 1 5853 => 1 21041 => 1 1053 => 1 21602 => 1 17064 => 1 14218 => 1 20397 => 1 11902 => 1 2785 => 1 8240 => 1 14647 => 1 11368 => 1 9347 => 1 8562 => 1 6703 => 1 7833 => 1 11263 => 1 6919 => 1 4420 => 1 4092 => 1 4128 => 1 3394 => 1 6385 => 1 1664 => 1 11099 => 1 23748 => 1 23461 => 1 7137 => 1 3050 => 1 7590 => 1 12450 => 1 1387 => 1 6423 => 1 18686 => 1 3835 => 1 3784 => 1 2260 => 1 14928 => 1 20580 => 1 5778 => 1 3277 => 1 5980 => 1 6064 => 1 4631 => 1 28833 => 1 4277 => 1 8525 => 1 24686 => 1 1245 => 1 8039 => 1 11280 => 1 4903 => 1 4968 => 1 7157 => 1 2334 => 1 3428 => 1 1386 => 1 5829 => 1 22003 => 1 1244 => 1 25932 => 1 9469 => 1 18243 => 1 6917 => 1 28658 => 1 18364 => 1 5189 => 1 1346 => 1 24938 => 1 1380 => 1 1401 => 1 1029 => 1 29003 => 1 10187 => 1 26765 => 1 14880 => 1 28256 => 1 7392 => 1 17433 => 1 25950 => 1 6513 => 1 8807 => 1 9170 => 1 1445 => 1 15799 => 1 9638 => 1 7870 => 1 2037 => 1 3738 => 1 9487 => 1 3618 => 1 24099 => 1 2393 => 1 5598 => 1 4994 => 1 28982 => 1 7840 => 1 20570 => 1 9236 => 1 5756 => 1 3319 => 1 1229 => 1 2926 => 1 8200 => 1 2446 => 1 11237 => 1 15032 => 1 16038 => 1 22964 => 1 3834 => 1 28031 => 1 20804 => 1 2930 => 1 1247 => 1 16191 => 1 5894 => 1 16007 => 1 1179 => 1 2567 => 1 9567 => 1 23264 => 1 24441 => 1 8140 => 1 24813 => 1 10047 => 1 25822 => 1 7168 => 1 1135 => 1 21763 => 1 6257 => 1 3525 => 1 22353 => 1 24487 => 1 1435 => 1 3490 => 1 4920 => 1 12261 => 1 9757 => 1 23797 => 1 2336 => 1 21765 => 1 26780 => 1 5208 => 1 6842 => 1 4827 => 1 1480 => 1 19583 => 1 7834 => 1 20536 => 1 5211 => 1 2050 => 1 13249 => 1 23675 => 1 3868 => 1 3706 => 1 22871 => 1 21697 => 1 4857 => 1 26964 => 1 17699 => 1 20459 => 1 4088 => 1 1849 => 1 11090 => 1 16404 => 1 12461 => 1 9052 => 1 10186 => 1 14337 => 1 17320 => 1 28696 => 1 20875 => 1 10029 => 1 28631 => 1 26735 => 1 6291 => 1 25440 => 1 26985 => 1 2748 => 1 4710 => 1 12282 => 1 1767 => 1 2592 => 1 25629 => 1 3708 => 1 24152 => 1 15922 => 1 2862 => 1 23299 => 1 17487 => 1 5223 => 1 11092 => 1 1292 => 1 8420 => 1 2548 => 1 7942 => 1 9027 => 1 25459 => 1 28150 => 1 21872 => 1 14867 => 1 25657 => 1 23447 => 1 5771 => 1 7726 => 1 28837 => 1 22973 => 1 23795 => 1 4190 => 1 1746 => 1 1174 => 1 9625 => 1 26410 => 1 3637 => 1 9102 => 1 6221 => 1 28485 => 1 16178 => 1 2927 => 1 6813 => 1 20965 => 1 4793 => 1 ] |
| wishlist | [ 8380 3249 4086 8979 5380 9060 8773 8980 7945 8765 18697 8977 4099 19643 5010 19306 132 7940 8769 7935 23136 7952 4632 908 5191 4532 8764 12295 ] |
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=7sbulv9fbp93jhmr4936qlhdm7" |
| 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/4793" |
| REDIRECT_SCRIPT_URL | "/cart/add/4793" |
| REDIRECT_SSL_TLS_SNI | "mipeluco.devlaboratory.es" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/cart/add/4793" |
| REMOTE_ADDR | "216.73.217.38" |
| REMOTE_PORT | "27418" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1788159896 |
| REQUEST_TIME_FLOAT | 1788159896.2987 |
| REQUEST_URI | "/cart/add/4793" |
| SCRIPT_FILENAME | "/var/www/html/shop/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SCRIPT_URI | "https://mipeluco.devlaboratory.es/cart/add/4793" |
| SCRIPT_URL | "/cart/add/4793" |
| 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" |