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" => "6525" ] |
| _stopwatch_token | "4c4799" |
| id | "6525" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "sf_redirect=%7B%22token%22%3A%22a4878d%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=4p7gkk79ukjvfikqoe4sedbh61" |
| host | "www.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, 22 Aug 2026 20:31:40 GMT" |
| location | "/cart" |
| x-debug-token | "8eea3c" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "4p7gkk79ukjvfikqoe4sedbh61" |
| sf_redirect | "{"token":"a4878d","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, 22 Aug 26 20:30:29 +0000" |
| Last used | "Sat, 22 Aug 26 20:31:40 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| cart | [ 19072 => 1 10450 => 1 5818 => 1 20746 => 1 25538 => 1 15410 => 1 22402 => 1 15948 => 1 17680 => 1 5197 => 1 11031 => 1 7858 => 1 21783 => 1 9721 => 1 2360 => 1 20653 => 1 10030 => 1 1734 => 1 1623 => 1 22167 => 1 2730 => 1 7180 => 1 14523 => 1 15950 => 1 17049 => 1 9612 => 1 4854 => 1 5295 => 1 19178 => 1 9455 => 1 14786 => 1 12852 => 1 5618 => 1 10084 => 1 14939 => 1 12835 => 1 5967 => 1 21144 => 1 20237 => 1 22288 => 1 5475 => 1 8840 => 1 22929 => 1 6388 => 1 6843 => 1 17047 => 1 5838 => 1 18191 => 1 10175 => 1 9694 => 1 13951 => 1 4916 => 1 5254 => 1 17474 => 1 20935 => 1 22246 => 1 18979 => 1 9862 => 1 5796 => 1 5259 => 1 24463 => 1 22182 => 1 19007 => 1 17249 => 1 24569 => 1 15523 => 1 25192 => 1 17050 => 1 21141 => 1 1198 => 1 11046 => 1 6070 => 1 18795 => 1 14849 => 1 24628 => 1 1784 => 1 5467 => 1 1659 => 1 8895 => 1 1890 => 1 24489 => 1 23982 => 1 8208 => 1 10508 => 1 23314 => 1 24632 => 1 8442 => 1 1868 => 1 24088 => 1 6488 => 1 11989 => 1 2584 => 1 2122 => 1 18702 => 1 5349 => 1 22904 => 1 6442 => 1 15735 => 1 17451 => 1 23709 => 1 5432 => 1 24540 => 1 6009 => 1 18211 => 1 2100 => 1 4280 => 1 15568 => 1 4581 => 1 4291 => 1 17059 => 1 19340 => 1 3409 => 1 3678 => 1 23285 => 1 5004 => 1 5343 => 1 23862 => 1 1249 => 1 24565 => 1 16192 => 1 6648 => 1 2430 => 1 25516 => 1 22247 => 1 16982 => 1 22248 => 1 1779 => 1 25867 => 1 12931 => 1 7414 => 1 17633 => 1 21508 => 1 5506 => 1 1896 => 1 8880 => 1 9825 => 1 9274 => 1 14518 => 1 8128 => 1 15548 => 1 7305 => 1 22291 => 1 16936 => 1 7850 => 1 3470 => 1 4925 => 1 4269 => 1 4782 => 1 7039 => 1 5444 => 1 13893 => 1 5606 => 1 6526 => 1 19006 => 1 14604 => 1 19299 => 1 9374 => 1 3066 => 1 4283 => 1 7333 => 1 6527 => 1 8426 => 1 5499 => 1 4456 => 1 9405 => 1 7515 => 1 10098 => 1 18901 => 1 17428 => 1 21676 => 1 9340 => 1 23896 => 1 18330 => 1 6525 => 1 ] |
| wishlist | [ 20740 5664 23698 13993 6598 7700 6558 5663 14397 22233 18909 13461 9634 5846 7912 14705 18142 24959 9637 15428 1999 1701 8613 1835 17628 23262 7558 14532 1632 6196 8726 11037 6183 1765 9258 3146 11222 6419 23754 2035 5773 17342 25873 2328 10065 10044 3692 14872 20741 6770 5867 10345 14845 16347 8639 6413 24722 4807 19142 6924 19243 11252 7793 6384 20682 923 10083 7655 21171 2353 14977 2818 16348 2238 12481 2816 23732 12403 3080 24319 3790 6769 5336 7111 10176 8229 2744 20744 10045 17399 6920 6752 16031 6439 5587 13883 24784 5318 22906 18784 2572 4750 5368 3134 959 22258 20701 4112 1783 2563 20745 13337 12936 6700 3254 1745 632 7189 14564 10474 4619 18201 2583 15569 18809 18971 1285 22153 8210 5635 937 2870 1869 14928 14522 25564 22504 23477 1879 7133 7028 4128 1193 2585 8616 7910 ] |
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_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" |
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 | "sf_redirect=%7B%22token%22%3A%22a4878d%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=4p7gkk79ukjvfikqoe4sedbh61" |
| HTTP_HOST | "www.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://www.mipeluco.com/cart/add/6525" |
| REDIRECT_SCRIPT_URL | "/cart/add/6525" |
| REDIRECT_SSL_TLS_SNI | "www.mipeluco.com" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/cart/add/6525" |
| REMOTE_ADDR | "216.73.216.215" |
| REMOTE_PORT | "14723" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1787430700 |
| REQUEST_TIME_FLOAT | 1787430700.8895 |
| REQUEST_URI | "/cart/add/6525" |
| SCRIPT_FILENAME | "/var/www/html/shop/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SCRIPT_URI | "https://www.mipeluco.com/cart/add/6525" |
| SCRIPT_URL | "/cart/add/6525" |
| SERVER_ADDR | "148.113.201.140" |
| SERVER_ADMIN | "[no address given]" |
| SERVER_NAME | "www.mipeluco.com" |
| SERVER_PORT | "443" |
| SERVER_PROTOCOL | "HTTP/1.1" |
| SERVER_SIGNATURE | "<address>Apache/2.4.62 (Ubuntu) Server at www.mipeluco.com Port 443</address>\n" |
| SERVER_SOFTWARE | "Apache/2.4.62 (Ubuntu)" |
| SSL_TLS_SNI | "www.mipeluco.com" |
| SYMFONY_DOTENV_VARS | "APP_ENV,APP_SECRET,APP_SHARE_DIR,DEFAULT_URI,DATABASE_URL,MAILER_DSN,APP_DEBUG,GEMINI_API_KEY,GEMINI_MODEL" |