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" => "3241" ] |
| _stopwatch_token | "81bb08" |
| id | "3241" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "sf_redirect=%7B%22token%22%3A%2274633b%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=7ki3av3vg4opqhjas7jdh741ai" |
| 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 15:28:35 GMT" |
| location | "/cart" |
| x-debug-token | "b39c0e" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "7ki3av3vg4opqhjas7jdh741ai" |
| sf_redirect | "{"token":"74633b","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 15:27:34 +0000" |
| Last used | "Sat, 22 Aug 26 15:28:35 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| cart | [ 21797 => 1 4818 => 1 5217 => 1 25947 => 1 20575 => 1 6834 => 1 7560 => 1 14879 => 1 5735 => 1 22644 => 1 12682 => 1 15087 => 1 2787 => 1 11228 => 1 11080 => 1 8007 => 1 14947 => 1 4004 => 1 22685 => 1 12867 => 1 13495 => 1 179 => 1 7438 => 1 7925 => 1 23591 => 1 7673 => 1 12906 => 1 6155 => 1 18503 => 1 10399 => 1 7596 => 1 3886 => 1 10173 => 1 3101 => 1 3520 => 1 5622 => 1 13461 => 1 9637 => 1 5846 => 1 1701 => 1 18142 => 1 1632 => 1 7558 => 1 3146 => 1 11222 => 1 25873 => 1 6306 => 1 8766 => 1 2799 => 1 16809 => 1 9233 => 1 2741 => 1 11986 => 1 3315 => 1 9259 => 1 5847 => 1 10243 => 1 4903 => 1 9036 => 1 2545 => 1 5224 => 1 4208 => 1 5579 => 1 17409 => 1 3405 => 1 7140 => 1 25528 => 1 9201 => 1 7835 => 1 3107 => 1 7241 => 1 9459 => 1 4901 => 1 3880 => 1 13142 => 1 15475 => 1 3784 => 1 23317 => 1 2040 => 1 6086 => 1 17784 => 1 2374 => 1 3017 => 1 8290 => 1 9893 => 1 6326 => 1 7536 => 1 23729 => 1 19611 => 1 9709 => 1 9902 => 1 8526 => 1 16461 => 1 4223 => 1 6154 => 1 3050 => 1 5585 => 1 16477 => 1 2041 => 1 21135 => 1 20403 => 1 6736 => 1 6978 => 1 11233 => 1 1899 => 1 4425 => 1 3798 => 1 6943 => 1 8100 => 1 6846 => 1 1340 => 1 7276 => 1 4038 => 1 958 => 1 7749 => 1 9518 => 1 740 => 1 10073 => 1 3158 => 1 6294 => 1 4056 => 1 11072 => 1 9037 => 1 1695 => 1 10197 => 1 5229 => 1 2355 => 1 2085 => 1 3792 => 1 23337 => 1 1845 => 1 1680 => 1 5822 => 1 24975 => 1 16142 => 1 1000 => 1 4950 => 1 4351 => 1 5252 => 1 4834 => 1 4820 => 1 827 => 1 1652 => 1 24903 => 1 7782 => 1 15089 => 1 20533 => 1 3476 => 1 7018 => 1 3046 => 1 5485 => 1 7530 => 1 7960 => 1 6145 => 1 3469 => 1 13445 => 1 10263 => 1 25271 => 1 1341 => 1 7095 => 1 8012 => 1 6828 => 1 23728 => 1 12342 => 1 20569 => 1 21680 => 1 9896 => 1 11272 => 1 7927 => 1 4948 => 1 6161 => 1 11091 => 1 4059 => 1 4246 => 1 3067 => 1 7872 => 1 3732 => 1 7008 => 1 24271 => 1 15097 => 1 9850 => 1 5789 => 1 3241 => 1 ] |
| wishlist | [ 4590 4247 12435 7073 1827 7370 6934 24977 10690 8013 7265 17992 8730 8440 6300 11166 10071 12469 17836 7975 6984 4437 7769 8951 23745 8568 4484 7607 9601 7595 6845 7708 25293 2874 8728 8936 3785 7950 3390 9645 4835 4716 14697 12911 8313 16342 4847 2886 2864 7422 964 4979 21486 6786 974 12985 23919 6780 17868 10074 9673 7609 4029 3689 7665 15919 7783 8064 7982 6977 22754 4637 6286 7683 9577 3170 5491 234 20196 9841 4236 7045 13239 4429 4448 785 4422 8161 5341 4696 7110 9147 13992 23905 9142 4229 9863 2833 7565 1004 6779 4050 726 1371 17849 22604 24979 7946 3100 7288 8080 6740 12965 3574 13625 3349 2985 20149 8546 2869 8937 106 7656 7974 10293 2268 5909 13612 7572 12945 1016 24752 22682 7634 3528 4199 3797 16482 13624 908 24656 6804 8764 7986 6147 22809 7359 20146 4428 8010 3375 184 716 2287 6745 7013 ] |
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%2274633b%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=7ki3av3vg4opqhjas7jdh741ai" |
| 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/3241" |
| REDIRECT_SCRIPT_URL | "/cart/add/3241" |
| REDIRECT_SSL_TLS_SNI | "www.mipeluco.com" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/cart/add/3241" |
| REMOTE_ADDR | "216.73.216.215" |
| REMOTE_PORT | "4622" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1787412515 |
| REQUEST_TIME_FLOAT | 1787412515.7233 |
| REQUEST_URI | "/cart/add/3241" |
| SCRIPT_FILENAME | "/var/www/html/shop/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SCRIPT_URI | "https://www.mipeluco.com/cart/add/3241" |
| SCRIPT_URL | "/cart/add/3241" |
| 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" |