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" => "18448" ] |
| _stopwatch_token | "6a90af" |
| id | "18448" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "PHPSESSID=58enno5gc6uupprcvb07ies3v0" |
| 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:56:49 GMT" |
| location | "/cart" |
| x-debug-token | "a5406f" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "58enno5gc6uupprcvb07ies3v0" |
Response Cookies
No response cookies
Session 2
Session Metadata
| Key | Value |
|---|---|
| Created | "Mon, 31 Aug 26 06:56:28 +0000" |
| Last used | "Mon, 31 Aug 26 06:56:49 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| cart | [ 3760 => 1 8027 => 1 3450 => 1 23249 => 1 11298 => 1 24765 => 1 1696 => 1 24167 => 1 24348 => 1 18355 => 1 10169 => 1 1222 => 1 9042 => 1 2826 => 1 9038 => 1 3837 => 1 5890 => 1 25628 => 1 14864 => 1 12993 => 1 15547 => 1 1753 => 1 20786 => 1 5433 => 1 2392 => 1 1440 => 1 21791 => 1 22502 => 1 29563 => 1 28586 => 1 8872 => 1 1847 => 1 28708 => 1 22995 => 1 1848 => 1 1509 => 1 20530 => 1 17002 => 1 1334 => 1 25949 => 1 22962 => 1 12470 => 1 8648 => 1 28103 => 1 3993 => 1 1230 => 1 2130 => 1 28057 => 1 1284 => 1 4299 => 1 24645 => 1 22148 => 1 2092 => 1 20458 => 1 10135 => 1 25673 => 1 20320 => 1 4238 => 1 4993 => 1 26577 => 1 17754 => 1 28626 => 1 1390 => 1 1408 => 1 23779 => 1 9562 => 1 7357 => 1 3884 => 1 18487 => 1 8704 => 1 20487 => 1 10087 => 1 9212 => 1 1232 => 1 20508 => 1 1804 => 1 4350 => 1 18282 => 1 5327 => 1 6706 => 1 17440 => 1 29183 => 1 5273 => 1 2920 => 1 18320 => 1 9789 => 1 28100 => 1 2553 => 1 22376 => 1 11403 => 1 2082 => 1 15935 => 1 1693 => 1 28401 => 1 6415 => 1 3361 => 1 23760 => 1 22696 => 1 14877 => 1 12920 => 1 29196 => 1 5900 => 1 25934 => 1 6543 => 1 3994 => 1 17296 => 1 4812 => 1 7431 => 1 14968 => 1 3222 => 1 27486 => 1 3018 => 1 5480 => 1 20747 => 1 1473 => 1 2522 => 1 8615 => 1 19213 => 1 6519 => 1 24733 => 1 22150 => 1 17435 => 1 5747 => 1 24320 => 1 22983 => 1 25955 => 1 8173 => 1 5836 => 1 7358 => 1 9066 => 1 11234 => 1 13701 => 1 9026 => 1 23490 => 1 2098 => 1 4330 => 1 25952 => 1 12641 => 1 9515 => 1 10179 => 1 5832 => 1 12355 => 1 10862 => 1 3826 => 1 8393 => 1 22380 => 1 21892 => 1 1716 => 1 1400 => 1 21848 => 1 24634 => 1 19744 => 1 15747 => 1 17679 => 1 17112 => 1 13621 => 1 1196 => 1 3812 => 1 5854 => 1 26840 => 1 10899 => 1 6542 => 1 4383 => 1 18563 => 1 18947 => 1 7187 => 1 27487 => 1 4712 => 1 18834 => 1 1403 => 1 21846 => 1 11666 => 1 20635 => 1 17016 => 1 19644 => 1 2911 => 1 1238 => 1 25259 => 1 23671 => 1 18448 => 1 ] |
| wishlist | [ 28342 1802 7632 16656 17832 28344 5299 944 761 1202 4052 2849 3313 3777 4663 17705 4648 7625 ] |
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=58enno5gc6uupprcvb07ies3v0" |
| 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/18448" |
| REDIRECT_SCRIPT_URL | "/cart/add/18448" |
| REDIRECT_SSL_TLS_SNI | "mipeluco.devlaboratory.es" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/cart/add/18448" |
| REMOTE_ADDR | "216.73.217.38" |
| REMOTE_PORT | "41422" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1788159408 |
| REQUEST_TIME_FLOAT | 1788159408.5725 |
| REQUEST_URI | "/cart/add/18448" |
| SCRIPT_FILENAME | "/var/www/html/shop/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SCRIPT_URI | "https://mipeluco.devlaboratory.es/cart/add/18448" |
| SCRIPT_URL | "/cart/add/18448" |
| 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" |