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" |
| _route | "app_cart_add" |
| _route_params | [ "id" => "4368" ] |
| _stopwatch_token | "7f1f1f" |
| id | "4368" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "PHPSESSID=crp7sjb54j93vl2o5qu2666cj0" |
| 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:10:46 GMT" |
| location | "/cart" |
| x-debug-token | "5bba1a" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "crp7sjb54j93vl2o5qu2666cj0" |
Response Cookies
No response cookies
Session 2
Session Metadata
| Key | Value |
|---|---|
| Created | "Sat, 22 Aug 26 20:10:08 +0000" |
| Last used | "Sat, 22 Aug 26 20:10:46 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| cart | [ 14481 => 1 1799 => 1 8900 => 1 22796 => 1 3510 => 1 24324 => 1 4968 => 1 10085 => 1 7784 => 1 3474 => 1 9042 => 1 9253 => 1 8871 => 1 9149 => 1 2465 => 1 23318 => 1 4934 => 1 9587 => 1 8525 => 1 9650 => 1 6850 => 1 14213 => 1 5763 => 1 7688 => 1 9868 => 1 7703 => 1 2270 => 1 7225 => 1 9523 => 1 9558 => 1 4018 => 1 24263 => 1 5212 => 1 19601 => 1 8524 => 1 8512 => 1 7137 => 1 24936 => 1 22154 => 1 7568 => 1 16079 => 1 21044 => 1 3829 => 1 5210 => 1 12903 => 1 5213 => 1 22835 => 1 7376 => 1 7905 => 1 23055 => 1 7537 => 1 7750 => 1 5205 => 1 3840 => 1 9043 => 1 8672 => 1 25342 => 1 19352 => 1 5170 => 1 6319 => 1 16072 => 1 5791 => 1 6867 => 1 7320 => 1 17820 => 1 8636 => 1 7808 => 1 11244 => 1 2934 => 1 3841 => 1 21028 => 1 5265 => 1 9536 => 1 8183 => 1 11245 => 1 6083 => 1 20178 => 1 3084 => 1 1987 => 1 3445 => 1 20737 => 1 8523 => 1 7891 => 1 1601 => 1 2947 => 1 5256 => 1 5199 => 1 8658 => 1 3596 => 1 7405 => 1 13705 => 1 3665 => 1 22124 => 1 17552 => 1 9877 => 1 9010 => 1 5883 => 1 7619 => 1 4769 => 1 13245 => 1 7639 => 1 9548 => 1 789 => 1 5754 => 1 6091 => 1 2267 => 1 22282 => 1 5753 => 1 8629 => 1 6722 => 1 7362 => 1 4728 => 1 8959 => 1 17890 => 1 5684 => 1 4368 => 1 ] |
| wishlist | [ 7637 4908 139 7670 4252 23924 7765 1980 3446 3089 2483 8679 8775 8093 17151 363 5907 19475 8529 7889 2252 5702 4602 12656 3449 20182 20148 24697 23399 8982 4577 25697 9876 8087 7922 4052 11468 8065 4502 7629 8947 5804 2272 6979 3443 24906 3473 9734 7658 2302 20180 3591 215 23213 8935 9871 6201 8682 22982 9743 ] |
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=crp7sjb54j93vl2o5qu2666cj0" |
| 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/4368" |
| REDIRECT_SCRIPT_URL | "/cart/add/4368" |
| REDIRECT_SSL_TLS_SNI | "www.mipeluco.com" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/cart/add/4368" |
| REMOTE_ADDR | "216.73.216.215" |
| REMOTE_PORT | "17404" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1787429446 |
| REQUEST_TIME_FLOAT | 1787429446.1654 |
| REQUEST_URI | "/cart/add/4368" |
| SCRIPT_FILENAME | "/var/www/html/shop/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SCRIPT_URI | "https://www.mipeluco.com/cart/add/4368" |
| SCRIPT_URL | "/cart/add/4368" |
| 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" |