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" |
| _redirected | true |
| _route | "app_cart_add" |
| _route_params | [ "id" => "4645" ] |
| _stopwatch_token | "d1db6b" |
| id | "4645" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "sf_redirect=%7B%22token%22%3A%226664a3%22%2C%22route%22%3A%22app_cart_add%22%2C%22method%22%3A%22GET%22%2C%22controller%22%3A%7B%22class%22%3A%22App%5C%5CController%5C%5CCartController%22%2C%22method%22%3A%22add%22%2C%22file%22%3A%22%5C%2Fvar%5C%2Fwww%5C%2Fhtml%5C%2Fshop%5C%2Fsrc%5C%2FController%5C%2FCartController.php%22%2C%22line%22%3A24%7D%2C%22status_code%22%3A302%2C%22status_text%22%3A%22Found%22%7D; PHPSESSID=433fg0tgnrmdk5q13tfvrqu8dv" |
| host | "mipeluco.com" |
| 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 12:01:19 GMT" |
| location | "/cart" |
| x-debug-token | "c79624" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "433fg0tgnrmdk5q13tfvrqu8dv" |
| sf_redirect | "{"token":"6664a3","route":"app_cart_add","method":"GET","controller":{"class":"App\\Controller\\CartController","method":"add","file":"\/var\/www\/html\/shop\/src\/Controller\/CartController.php","line":24},"status_code":302,"status_text":"Found"}" |
Response Cookies
No response cookies
Session 2
Session Metadata
| Key | Value |
|---|---|
| Created | "Sat, 29 Aug 26 12:00:54 +0000" |
| Last used | "Sat, 29 Aug 26 12:01:19 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| cart | [ 1992 => 1 8992 => 1 3934 => 1 8239 => 1 22656 => 1 13640 => 1 3296 => 1 4672 => 1 4686 => 1 5014 => 1 18596 => 1 3371 => 1 8482 => 1 143 => 1 9748 => 1 3930 => 1 9767 => 1 2176 => 1 4497 => 1 9746 => 1 5482 => 1 9747 => 1 13633 => 1 3900 => 1 20596 => 1 8530 => 1 12232 => 1 2240 => 1 4243 => 1 2137 => 1 5201 => 1 4571 => 1 7484 => 1 886 => 1 23751 => 1 9741 => 1 5986 => 1 6151 => 1 2133 => 1 9749 => 1 8907 => 1 2140 => 1 2138 => 1 3262 => 1 24902 => 1 5397 => 1 954 => 1 9750 => 1 14616 => 1 8014 => 1 3280 => 1 8752 => 1 4036 => 1 7971 => 1 3255 => 1 7429 => 1 9348 => 1 7693 => 1 13664 => 1 2157 => 1 125 => 1 769 => 1 3286 => 1 5271 => 1 13628 => 1 2803 => 1 123 => 1 7900 => 1 1016 => 1 11202 => 1 6509 => 1 7909 => 1 18653 => 1 6293 => 1 3916 => 1 8397 => 1 8399 => 1 3203 => 1 2158 => 1 7337 => 1 8301 => 1 2804 => 1 5083 => 1 20197 => 1 5352 => 1 23554 => 1 13639 => 1 365 => 1 517 => 1 3261 => 1 6403 => 1 4657 => 1 7883 => 1 6909 => 1 8340 => 1 2185 => 1 3956 => 1 15 => 1 8071 => 1 1685 => 1 3376 => 1 3910 => 1 8201 => 1 8973 => 1 20985 => 1 6567 => 1 11047 => 1 3913 => 1 3389 => 1 168 => 1 5263 => 1 8486 => 1 7645 => 1 7461 => 1 483 => 1 8976 => 1 23637 => 1 630 => 1 6348 => 1 8345 => 1 8322 => 1 6014 => 1 4086 => 1 6743 => 1 879 => 1 7699 => 1 3124 => 1 8922 => 1 21005 => 1 9753 => 1 7907 => 1 8380 => 1 4348 => 1 3391 => 1 8963 => 1 1682 => 1 4152 => 1 2807 => 1 6392 => 1 8352 => 1 3249 => 1 8944 => 1 23116 => 1 3924 => 1 534 => 1 4124 => 1 3207 => 1 9552 => 1 9760 => 1 844 => 1 8263 => 1 8403 => 1 13634 => 1 3597 => 1 8686 => 1 22909 => 1 3345 => 1 23232 => 1 13151 => 1 2579 => 1 841 => 1 9537 => 1 8484 => 1 9716 => 1 3377 => 1 8323 => 1 4645 => 1 ] |
| wishlist | [ 6972 5145 124 1 49 487 8367 2136 20587 975 463 435 458 36 1990 17542 28343 451 154 424 70 459 405 16 60 23 34 889 11348 153 22073 796 2811 19 5347 18 2201 ] |
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 | "sf_redirect=%7B%22token%22%3A%226664a3%22%2C%22route%22%3A%22app_cart_add%22%2C%22method%22%3A%22GET%22%2C%22controller%22%3A%7B%22class%22%3A%22App%5C%5CController%5C%5CCartController%22%2C%22method%22%3A%22add%22%2C%22file%22%3A%22%5C%2Fvar%5C%2Fwww%5C%2Fhtml%5C%2Fshop%5C%2Fsrc%5C%2FController%5C%2FCartController.php%22%2C%22line%22%3A24%7D%2C%22status_code%22%3A302%2C%22status_text%22%3A%22Found%22%7D; PHPSESSID=433fg0tgnrmdk5q13tfvrqu8dv" |
| HTTP_HOST | "mipeluco.com" |
| 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.com/cart/add/4645" |
| REDIRECT_SCRIPT_URL | "/cart/add/4645" |
| REDIRECT_SSL_TLS_SNI | "mipeluco.com" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/cart/add/4645" |
| REMOTE_ADDR | "216.73.216.245" |
| REMOTE_PORT | "59892" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1788004879 |
| REQUEST_TIME_FLOAT | 1788004879.3077 |
| REQUEST_URI | "/cart/add/4645" |
| SCRIPT_FILENAME | "/var/www/html/shop/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SCRIPT_URI | "https://mipeluco.com/cart/add/4645" |
| SCRIPT_URL | "/cart/add/4645" |
| SERVER_ADDR | "148.113.201.140" |
| SERVER_ADMIN | "[no address given]" |
| SERVER_NAME | "mipeluco.com" |
| SERVER_PORT | "443" |
| SERVER_PROTOCOL | "HTTP/1.1" |
| SERVER_SIGNATURE | "<address>Apache/2.4.62 (Ubuntu) Server at mipeluco.com Port 443</address>\n" |
| SERVER_SOFTWARE | "Apache/2.4.62 (Ubuntu)" |
| SSL_TLS_SNI | "mipeluco.com" |
| SYMFONY_DOTENV_VARS | "APP_ENV,APP_SECRET,APP_SHARE_DIR,DEFAULT_URI,DATABASE_URL,MAILER_DSN,GEMINI_API_KEY,GEMINI_MODEL" |