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" => "7751" ] |
| _stopwatch_token | "527cd7" |
| id | "7751" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "sf_redirect=%7B%22token%22%3A%2214a717%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; PHPSESSID=6m8ufmn3tn59gsspbj5jou6j7o" |
| 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 18:43:06 GMT" |
| location | "/cart" |
| x-debug-token | "c818dc" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "6m8ufmn3tn59gsspbj5jou6j7o" |
| sf_redirect | "{"token":"14a717","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 18:41:38 +0000" |
| Last used | "Sat, 22 Aug 26 18:43:06 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| cart | [ 4216 => 1 10017 => 1 4314 => 1 10426 => 1 11701 => 1 23491 => 1 18936 => 1 6683 => 1 16433 => 1 13208 => 1 6405 => 1 23626 => 1 18588 => 1 18757 => 1 11062 => 1 14787 => 1 8226 => 1 24170 => 1 5419 => 1 5473 => 1 21201 => 1 14911 => 1 6351 => 1 19207 => 1 21963 => 1 16440 => 1 4171 => 1 13381 => 1 17455 => 1 19214 => 1 9051 => 1 18903 => 1 23533 => 1 13677 => 1 21389 => 1 17199 => 1 11967 => 1 16121 => 1 6673 => 1 3119 => 1 2644 => 1 23660 => 1 20997 => 1 15730 => 1 18196 => 1 10056 => 1 18797 => 1 20306 => 1 17307 => 1 23133 => 1 22208 => 1 22740 => 1 14912 => 1 14633 => 1 19155 => 1 21571 => 1 6186 => 1 14049 => 1 17060 => 1 6542 => 1 24685 => 1 15958 => 1 17337 => 1 18929 => 1 21989 => 1 18306 => 1 19199 => 1 10841 => 1 13872 => 1 21730 => 1 24622 => 1 18946 => 1 8837 => 1 1325 => 1 23148 => 1 5990 => 1 4671 => 1 14264 => 1 1756 => 1 5456 => 1 20635 => 1 20517 => 1 14047 => 1 19196 => 1 23671 => 1 7056 => 1 18319 => 1 17595 => 1 25858 => 1 21175 => 1 4324 => 1 24288 => 1 13889 => 1 8188 => 1 14422 => 1 23672 => 1 20690 => 1 25495 => 1 12898 => 1 20685 => 1 24637 => 1 17436 => 1 24660 => 1 18947 => 1 18210 => 1 9688 => 1 10316 => 1 15312 => 1 23618 => 1 7812 => 1 5854 => 1 1400 => 1 17684 => 1 19722 => 1 22382 => 1 24634 => 1 19183 => 1 4320 => 1 24630 => 1 23429 => 1 21774 => 1 15747 => 1 21875 => 1 17427 => 1 13730 => 1 14966 => 1 11247 => 1 5457 => 1 1359 => 1 17679 => 1 22471 => 1 18334 => 1 24787 => 1 8305 => 1 22765 => 1 24602 => 1 25112 => 1 5612 => 1 24464 => 1 18602 => 1 24044 => 1 24016 => 1 19744 => 1 22380 => 1 3309 => 1 17070 => 1 5288 => 1 2523 => 1 7751 => 1 ] |
| wishlist | [ 17893 11901 21909 17671 6481 6335 21209 19220 16306 17786 18161 14441 14804 9328 14890 13665 19205 5496 10041 15554 14868 1023 5509 16307 14978 10055 5357 25510 5406 10093 9073 3860 17463 16449 24043 8356 6250 3130 14938 14905 16448 5922 1660 5254 8442 2430 11997 25650 2748 7496 7678 4924 24635 2729 24735 1830 16558 24490 1248 15693 25629 9826 14867 6520 20809 6202 13740 5584 14892 12978 9052 5267 9514 11255 3381 2336 8398 4808 2067 1829 18152 21173 17699 2546 10047 7834 8788 8394 6856 20748 3190 6556 9649 22381 5870 2547 14714 8140 9824 17280 17792 1884 24640 14536 4330 10902 14243 10067 15470 16007 2446 23191 3094 25280 5637 4994 23264 17286 20673 4222 16893 24019 5832 25355 6374 8674 7090 5894 24487 18804 5634 6642 19124 10429 17246 10032 14489 22159 9485 7840 1780 5284 19618 22353 6510 9487 6519 ] |
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%2214a717%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; PHPSESSID=6m8ufmn3tn59gsspbj5jou6j7o" |
| 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/7751" |
| REDIRECT_SCRIPT_URL | "/cart/add/7751" |
| REDIRECT_SSL_TLS_SNI | "www.mipeluco.com" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/cart/add/7751" |
| REMOTE_ADDR | "216.73.216.215" |
| REMOTE_PORT | "36685" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1787424186 |
| REQUEST_TIME_FLOAT | 1787424186.9034 |
| REQUEST_URI | "/cart/add/7751" |
| SCRIPT_FILENAME | "/var/www/html/shop/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SCRIPT_URI | "https://www.mipeluco.com/cart/add/7751" |
| SCRIPT_URL | "/cart/add/7751" |
| 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" |