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" => "1266" ] |
| _stopwatch_token | "92f781" |
| id | "1266" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "PHPSESSID=nivdqkooj1q9b3magaqn6qu651" |
| 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 06:57:11 GMT" |
| location | "/cart" |
| x-debug-token | "2b9188" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "nivdqkooj1q9b3magaqn6qu651" |
Response Cookies
No response cookies
Session 2
Session Metadata
| Key | Value |
|---|---|
| Created | "Mon, 31 Aug 26 06:56:51 +0000" |
| Last used | "Mon, 31 Aug 26 06:57:11 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| cart | [ 21103 => 1 12231 => 1 23429 => 1 10056 => 1 1756 => 1 4405 => 1 14458 => 1 6584 => 1 24448 => 1 1436 => 1 18162 => 1 4861 => 1 15872 => 1 16291 => 1 15312 => 1 18948 => 1 3859 => 1 7719 => 1 20607 => 1 9197 => 1 1223 => 1 14926 => 1 24772 => 1 6104 => 1 10431 => 1 12600 => 1 18995 => 1 27679 => 1 10962 => 1 24029 => 1 14447 => 1 25613 => 1 17307 => 1 22208 => 1 20880 => 1 1210 => 1 5101 => 1 14915 => 1 15566 => 1 18384 => 1 21024 => 1 17495 => 1 24655 => 1 25610 => 1 22801 => 1 2024 => 1 12563 => 1 17448 => 1 26880 => 1 27017 => 1 23569 => 1 1713 => 1 23175 => 1 18797 => 1 9146 => 1 26895 => 1 2066 => 1 25658 => 1 1415 => 1 25860 => 1 27772 => 1 12154 => 1 13399 => 1 1343 => 1 3827 => 1 24504 => 1 25600 => 1 16965 => 1 14428 => 1 1219 => 1 28825 => 1 24609 => 1 5814 => 1 7855 => 1 7289 => 1 23485 => 1 26916 => 1 16052 => 1 5418 => 1 14082 => 1 10976 => 1 19669 => 1 2217 => 1 23229 => 1 16941 => 1 16159 => 1 20664 => 1 26519 => 1 13100 => 1 27658 => 1 17334 => 1 23004 => 1 9513 => 1 1825 => 1 2025 => 1 27600 => 1 23725 => 1 28568 => 1 24103 => 1 27563 => 1 11653 => 1 19735 => 1 19265 => 1 25236 => 1 29540 => 1 18042 => 1 26905 => 1 23145 => 1 15879 => 1 28977 => 1 28827 => 1 24549 => 1 4051 => 1 25825 => 1 24384 => 1 28469 => 1 20683 => 1 23845 => 1 20669 => 1 29094 => 1 23456 => 1 28382 => 1 5713 => 1 22377 => 1 17862 => 1 5724 => 1 20724 => 1 11341 => 1 14013 => 1 16113 => 1 10852 => 1 20712 => 1 22386 => 1 19008 => 1 1460 => 1 1894 => 1 14475 => 1 22689 => 1 25733 => 1 16121 => 1 9074 => 1 16407 => 1 21973 => 1 17418 => 1 12644 => 1 12595 => 1 12356 => 1 2524 => 1 28428 => 1 24534 => 1 14002 => 1 14514 => 1 28216 => 1 9420 => 1 21632 => 1 26482 => 1 26524 => 1 27685 => 1 18622 => 1 22764 => 1 26877 => 1 17423 => 1 28498 => 1 13562 => 1 16933 => 1 1266 => 1 ] |
| wishlist | [ 6532 3472 3140 22006 2797 9837 1797 1707 1670 21844 3775 21847 4403 1633 2387 7617 1891 3476 8055 1044 1901 3729 24937 1508 9830 1273 1399 1863 1365 5300 22653 3158 1845 1801 3829 28341 28347 2065 1126 972 4647 1865 1369 1407 ] |
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=nivdqkooj1q9b3magaqn6qu651" |
| 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/1266" |
| REDIRECT_SCRIPT_URL | "/cart/add/1266" |
| REDIRECT_SSL_TLS_SNI | "mipeluco.devlaboratory.es" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/cart/add/1266" |
| REMOTE_ADDR | "216.73.217.38" |
| REMOTE_PORT | "48853" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1788159431 |
| REQUEST_TIME_FLOAT | 1788159431.1312 |
| REQUEST_URI | "/cart/add/1266" |
| SCRIPT_FILENAME | "/var/www/html/shop/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SCRIPT_URI | "https://mipeluco.devlaboratory.es/cart/add/1266" |
| SCRIPT_URL | "/cart/add/1266" |
| 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" |