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" => "8062" ] |
| _stopwatch_token | "415b0c" |
| id | "8062" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "sf_redirect=%7B%22token%22%3A%228104d4%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=2h8442eg874p33r4d4sq1j8ksr" |
| 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 19:05:44 GMT" |
| location | "/cart" |
| x-debug-token | "62c2d4" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "2h8442eg874p33r4d4sq1j8ksr" |
| sf_redirect | "{"token":"8104d4","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 19:04:15 +0000" |
| Last used | "Sat, 22 Aug 26 19:05:44 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| cart | [ 13145 => 1 11216 => 1 13432 => 1 6111 => 1 8515 => 1 25237 => 1 13558 => 1 23796 => 1 4198 => 1 16154 => 1 8853 => 1 20503 => 1 11698 => 1 11754 => 1 13347 => 1 13161 => 1 7514 => 1 7457 => 1 23634 => 1 16115 => 1 6138 => 1 21036 => 1 21786 => 1 9353 => 1 1905 => 1 16112 => 1 12237 => 1 24535 => 1 2111 => 1 24914 => 1 24299 => 1 11530 => 1 5510 => 1 11973 => 1 23581 => 1 7462 => 1 5813 => 1 20264 => 1 12895 => 1 19912 => 1 21093 => 1 5905 => 1 4705 => 1 25959 => 1 5878 => 1 23766 => 1 6137 => 1 21090 => 1 23071 => 1 8267 => 1 18541 => 1 9831 => 1 9472 => 1 13845 => 1 25583 => 1 11340 => 1 2530 => 1 16015 => 1 12779 => 1 8211 => 1 13508 => 1 9450 => 1 12372 => 1 16253 => 1 20795 => 1 4931 => 1 11461 => 1 10952 => 1 21887 => 1 4927 => 1 10951 => 1 2068 => 1 7303 => 1 23347 => 1 20489 => 1 24583 => 1 10404 => 1 3610 => 1 22708 => 1 21752 => 1 5498 => 1 9215 => 1 7753 => 1 10503 => 1 5803 => 1 8412 => 1 6762 => 1 11896 => 1 24311 => 1 14044 => 1 1336 => 1 16285 => 1 13191 => 1 13340 => 1 16909 => 1 7725 => 1 9706 => 1 2798 => 1 1600 => 1 3720 => 1 13446 => 1 7023 => 1 13299 => 1 20779 => 1 2854 => 1 13344 => 1 25705 => 1 25593 => 1 3890 => 1 4439 => 1 9817 => 1 4894 => 1 10329 => 1 8420 => 1 24958 => 1 21740 => 1 7287 => 1 6182 => 1 15423 => 1 23951 => 1 21883 => 1 18017 => 1 11682 => 1 5798 => 1 16341 => 1 22997 => 1 1292 => 1 11090 => 1 22977 => 1 11491 => 1 8543 => 1 11092 => 1 7415 => 1 1396 => 1 7071 => 1 7517 => 1 4778 => 1 10795 => 1 8887 => 1 14261 => 1 16971 => 1 21006 => 1 25451 => 1 10174 => 1 25918 => 1 4713 => 1 12420 => 1 12019 => 1 23072 => 1 17587 => 1 3778 => 1 25874 => 1 10372 => 1 6248 => 1 10428 => 1 1452 => 1 24905 => 1 24931 => 1 8983 => 1 12872 => 1 12917 => 1 12844 => 1 21765 => 1 9638 => 1 5748 => 1 25903 => 1 6794 => 1 16299 => 1 10179 => 1 4824 => 1 3738 => 1 6378 => 1 3618 => 1 3713 => 1 6724 => 1 2037 => 1 3802 => 1 16447 => 1 12925 => 1 8410 => 1 14968 => 1 24441 => 1 9026 => 1 13017 => 1 6816 => 1 11809 => 1 3514 => 1 11234 => 1 18124 => 1 5158 => 1 6096 => 1 2831 => 1 6719 => 1 14715 => 1 23299 => 1 8439 => 1 8438 => 1 23653 => 1 15979 => 1 7830 => 1 25396 => 1 8801 => 1 15799 => 1 2532 => 1 6274 => 1 1485 => 1 1882 => 1 3018 => 1 3406 => 1 11528 => 1 3361 => 1 20804 => 1 19784 => 1 7743 => 1 4943 => 1 2207 => 1 7991 => 1 25286 => 1 8961 => 1 1267 => 1 7513 => 1 2522 => 1 10567 => 1 4488 => 1 1228 => 1 10077 => 1 11686 => 1 8062 => 1 ] |
| wishlist | [ 2533 12923 4562 5898 16320 23657 16902 7559 2733 3116 8274 14224 2080 12958 9895 2955 11277 13673 11095 12959 4186 1740 9671 3828 4555 25784 10673 5225 687 814 7575 20907 3068 1675 2970 2914 11274 7006 4936 2540 17854 5892 14932 25977 8914 22003 12918 1741 5599 3502 2487 6718 9595 3338 4594 8434 4955 7215 9260 3682 8338 2859 3734 6997 18591 6966 7311 25577 13451 9890 2334 12484 1241 16262 9679 9836 3327 17795 1833 7067 4140 10403 21789 1352 4020 5478 3362 4881 1744 11295 2633 5799 1653 12955 2993 5980 8099 2968 5472 14969 3277 4382 22671 5778 20580 3864 7500 12434 3221 8663 14873 4460 3539 3667 21040 23461 12352 4647 9111 3394 5706 2216 20484 18565 7978 12092 17827 7085 1407 7209 19641 20397 4078 5853 16147 7879 2072 6875 6258 1015 23767 1706 6806 7327 5100 6233 7938 6095 20565 5159 21085 19645 5583 8931 3326 24092 21063 1008 21083 8943 24968 5251 7534 2800 7065 17826 11240 7018 3075 3046 1883 5485 1863 7530 9570 25908 13445 742 25271 3469 9795 3157 6145 7960 955 10263 7095 1341 24937 3047 11265 8012 11241 20569 6828 23728 12342 18092 11201 2855 9896 7167 11272 1044 6161 7927 12930 11091 4948 11892 3801 4059 24934 4173 4246 1763 297 8912 3067 14599 7213 25580 7872 9898 24271 9850 ] |
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%228104d4%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=2h8442eg874p33r4d4sq1j8ksr" |
| 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/8062" |
| REDIRECT_SCRIPT_URL | "/cart/add/8062" |
| REDIRECT_SSL_TLS_SNI | "www.mipeluco.com" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/cart/add/8062" |
| REMOTE_ADDR | "216.73.216.215" |
| REMOTE_PORT | "10763" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1787425544 |
| REQUEST_TIME_FLOAT | 1787425544.8283 |
| REQUEST_URI | "/cart/add/8062" |
| SCRIPT_FILENAME | "/var/www/html/shop/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SCRIPT_URI | "https://www.mipeluco.com/cart/add/8062" |
| SCRIPT_URL | "/cart/add/8062" |
| 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" |