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" => "16316" ] |
| _stopwatch_token | "3a9bcd" |
| id | "16316" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "PHPSESSID=f31dnnv67g22jimg0an3hseeu7; sf_redirect=%7B%22token%22%3A%22adc9c4%22%2C%22route%22%3A%22app_wishlist_add%22%2C%22method%22%3A%22GET%22%2C%22controller%22%3A%7B%22class%22%3A%22App%5C%5CController%5C%5CWishlistController%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%2FWishlistController.php%22%2C%22line%22%3A15%7D%2C%22status_code%22%3A302%2C%22status_text%22%3A%22Found%22%7D" |
| 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 21:36:28 GMT" |
| location | "/cart" |
| x-debug-token | "01e9b6" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "f31dnnv67g22jimg0an3hseeu7" |
| sf_redirect | "{"token":"adc9c4","route":"app_wishlist_add","method":"GET","controller":{"class":"App\\Controller\\WishlistController","method":"add","file":"\/var\/www\/html\/shop\/src\/Controller\/WishlistController.php","line":15},"status_code":302,"status_text":"Found"}" |
Response Cookies
No response cookies
Session 2
Session Metadata
| Key | Value |
|---|---|
| Created | "Sat, 22 Aug 26 21:34:57 +0000" |
| Last used | "Sat, 22 Aug 26 21:36:28 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| cart | [ 12314 => 1 17711 => 1 20789 => 1 4188 => 1 15004 => 1 14991 => 1 15252 => 1 18354 => 1 13217 => 1 17949 => 1 12135 => 1 14791 => 1 18553 => 1 24001 => 1 5150 => 1 15102 => 1 18298 => 1 13793 => 1 15387 => 1 17132 => 1 17861 => 1 12821 => 1 14471 => 1 12212 => 1 5084 => 1 24139 => 1 25179 => 1 25861 => 1 14497 => 1 1562 => 1 22514 => 1 5082 => 1 14821 => 1 25083 => 1 18122 => 1 17069 => 1 23270 => 1 13925 => 1 15721 => 1 25044 => 1 25891 => 1 17950 => 1 19811 => 1 5104 => 1 14761 => 1 15521 => 1 12597 => 1 17597 => 1 8246 => 1 15290 => 1 23431 => 1 25063 => 1 15485 => 1 19071 => 1 15563 => 1 18414 => 1 14311 => 1 14184 => 1 12132 => 1 25788 => 1 5098 => 1 4992 => 1 25120 => 1 10542 => 1 2627 => 1 1531 => 1 20483 => 1 11662 => 1 18284 => 1 16316 => 1 ] |
| wishlist | [ 10483 15196 25350 11127 23268 23861 12492 13597 17991 17922 18789 24603 22588 13195 11888 14194 19776 17731 11107 14061 24827 5058 17278 18427 15665 25125 21917 24785 10551 19011 11479 25123 15008 13914 21542 24365 23373 24856 20411 20365 9095 15685 10597 21454 18363 10695 15921 15798 18594 24106 24091 10624 15646 21462 25278 13120 24695 14454 23718 18425 12497 15690 15797 24301 15442 11300 24492 12742 13923 18785 18011 5074 18390 16843 19584 16427 11505 15281 23419 20553 19766 12566 18365 12512 13260 24123 2505 13584 11000 15504 5064 25214 16856 14473 15288 10594 18081 12670 13958 21120 25648 11817 15658 11782 11885 12214 16838 13234 15155 22195 23597 5086 11825 11827 17886 20791 11826 15385 ] |
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 | "PHPSESSID=f31dnnv67g22jimg0an3hseeu7; sf_redirect=%7B%22token%22%3A%22adc9c4%22%2C%22route%22%3A%22app_wishlist_add%22%2C%22method%22%3A%22GET%22%2C%22controller%22%3A%7B%22class%22%3A%22App%5C%5CController%5C%5CWishlistController%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%2FWishlistController.php%22%2C%22line%22%3A15%7D%2C%22status_code%22%3A302%2C%22status_text%22%3A%22Found%22%7D" |
| 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/16316" |
| REDIRECT_SCRIPT_URL | "/cart/add/16316" |
| REDIRECT_SSL_TLS_SNI | "www.mipeluco.com" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/cart/add/16316" |
| REMOTE_ADDR | "216.73.216.215" |
| REMOTE_PORT | "63312" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1787434588 |
| REQUEST_TIME_FLOAT | 1787434588.7032 |
| REQUEST_URI | "/cart/add/16316" |
| SCRIPT_FILENAME | "/var/www/html/shop/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SCRIPT_URI | "https://www.mipeluco.com/cart/add/16316" |
| SCRIPT_URL | "/cart/add/16316" |
| 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" |