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" => "15948" ] |
| _stopwatch_token | "40a625" |
| id | "15948" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "sf_redirect=%7B%22token%22%3A%22e9e010%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=0ikigrrqobh24cf9mkj56upad0" |
| host | "mipeluco.devlaboratory.es" |
| 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 | "Mon, 31 Aug 2026 06:59:01 GMT" |
| location | "/cart" |
| x-debug-token | "401148" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "0ikigrrqobh24cf9mkj56upad0" |
| sf_redirect | "{"token":"e9e010","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 | "Mon, 31 Aug 26 06:58:35 +0000" |
| Last used | "Mon, 31 Aug 26 06:59:01 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| cart | [ 9824 => 1 24474 => 1 15470 => 1 13372 => 1 22159 => 1 9619 => 1 6455 => 1 2067 => 1 5289 => 1 9613 => 1 11050 => 1 5870 => 1 6520 => 1 10122 => 1 3660 => 1 7228 => 1 28562 => 1 8387 => 1 5304 => 1 3719 => 1 2390 => 1 9649 => 1 3400 => 1 19065 => 1 14489 => 1 3855 => 1 1248 => 1 1396 => 1 28830 => 1 6175 => 1 12917 => 1 25396 => 1 28677 => 1 5746 => 1 3436 => 1 22977 => 1 7287 => 1 20673 => 1 12441 => 1 23072 => 1 1830 => 1 23540 => 1 14142 => 1 27092 => 1 4778 => 1 8398 => 1 1394 => 1 5958 => 1 5134 => 1 28207 => 1 4135 => 1 7070 => 1 24635 => 1 29100 => 1 22729 => 1 14261 => 1 2449 => 1 13006 => 1 28907 => 1 25593 => 1 18972 => 1 21145 => 1 25010 => 1 9381 => 1 25936 => 1 14248 => 1 18583 => 1 18928 => 1 15928 => 1 21660 => 1 15548 => 1 9056 => 1 19634 => 1 23739 => 1 23896 => 1 24490 => 1 2582 => 1 17464 => 1 10795 => 1 21787 => 1 18779 => 1 17010 => 1 10153 => 1 12933 => 1 5636 => 1 20873 => 1 21185 => 1 4439 => 1 28868 => 1 23719 => 1 16420 => 1 1152 => 1 5444 => 1 9221 => 1 14570 => 1 5812 => 1 19006 => 1 9229 => 1 21708 => 1 3066 => 1 19218 => 1 22378 => 1 13660 => 1 13702 => 1 1896 => 1 21841 => 1 2798 => 1 28972 => 1 3850 => 1 5786 => 1 3858 => 1 2068 => 1 24501 => 1 5343 => 1 1855 => 1 5314 => 1 1834 => 1 14524 => 1 2090 => 1 28159 => 1 25518 => 1 14518 => 1 22174 => 1 5803 => 1 7850 => 1 11997 => 1 16149 => 1 2584 => 1 29358 => 1 20862 => 1 20730 => 1 19340 => 1 17030 => 1 21735 => 1 26549 => 1 3456 => 1 6009 => 1 1803 => 1 26420 => 1 29290 => 1 12017 => 1 5295 => 1 21752 => 1 28346 => 1 25892 => 1 24088 => 1 8864 => 1 1453 => 1 15438 => 1 28778 => 1 7562 => 1 12372 => 1 12062 => 1 25970 => 1 9976 => 1 3493 => 1 1890 => 1 2749 => 1 14898 => 1 28208 => 1 29470 => 1 23314 => 1 9612 => 1 6113 => 1 7188 => 1 15419 => 1 10175 => 1 20944 => 1 14754 => 1 24445 => 1 20237 => 1 24599 => 1 15413 => 1 20935 => 1 6866 => 1 24311 => 1 5967 => 1 2093 => 1 5838 => 1 24628 => 1 2348 => 1 21090 => 1 25583 => 1 25943 => 1 17635 => 1 16015 => 1 18043 => 1 20746 => 1 17680 => 1 1734 => 1 27979 => 1 29569 => 1 8498 => 1 9694 => 1 21673 => 1 11258 => 1 15948 => 1 ] |
| wishlist | [ 17848 7630 5301 2287 4428 979 2279 3265 2876 1969 1504 2187 17834 4053 12151 23552 25166 23293 21996 22009 2852 2806 24933 19475 3676 1909 8401 1402 ] |
Session Usage
2
Usages
Stateless check enabled
| Usage |
|---|
App\Service\CartService:34
[
[
"file" => "/var/www/html/shop/src/Service/CartService.php"
"line" => 34
"function" => "get"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/var/www/html/shop/src/Controller/CartController.php"
"line" => 44
"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:42
[
[
"file" => "/var/www/html/shop/src/Service/CartService.php"
"line" => 42
"function" => "set"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/var/www/html/shop/src/Controller/CartController.php"
"line" => 44
"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" |
| STRIPE_PUBLIC_KEY | "pk_test_51U9rIHFpB7qqLWWjhXhRjuVw0B6b2iOHaqzTSrZTBFCR1XrRNHVxjyhvXSPar3aB3BjxL75gio13vWFYg7kbnU9U00lyWEwZY0" |
| STRIPE_SECRET_KEY | "sk_test_51U9rIHFpB7qqLWWj5FtoN9lbrjiFAHJIUx1Z8oNfvfxeKlbordzbz4NEskmIEUzLCCLfGQW2baL40S7nna6yCwF800HxrhGZbb" |
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%22e9e010%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=0ikigrrqobh24cf9mkj56upad0" |
| HTTP_HOST | "mipeluco.devlaboratory.es" |
| 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://mipeluco.devlaboratory.es/cart/add/15948" |
| REDIRECT_SCRIPT_URL | "/cart/add/15948" |
| REDIRECT_SSL_TLS_SNI | "mipeluco.devlaboratory.es" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/cart/add/15948" |
| REMOTE_ADDR | "216.73.217.38" |
| REMOTE_PORT | "32229" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1788159540 |
| REQUEST_TIME_FLOAT | 1788159540.3964 |
| REQUEST_URI | "/cart/add/15948" |
| SCRIPT_FILENAME | "/var/www/html/shop/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SCRIPT_URI | "https://mipeluco.devlaboratory.es/cart/add/15948" |
| SCRIPT_URL | "/cart/add/15948" |
| SERVER_ADDR | "148.113.201.140" |
| SERVER_ADMIN | "[no address given]" |
| SERVER_NAME | "mipeluco.devlaboratory.es" |
| SERVER_PORT | "443" |
| SERVER_PROTOCOL | "HTTP/1.1" |
| SERVER_SIGNATURE | "<address>Apache/2.4.62 (Ubuntu) Server at mipeluco.devlaboratory.es Port 443</address>\n" |
| SERVER_SOFTWARE | "Apache/2.4.62 (Ubuntu)" |
| SSL_TLS_SNI | "mipeluco.devlaboratory.es" |
| SYMFONY_DOTENV_VARS | "APP_ENV,APP_SECRET,APP_SHARE_DIR,APP_DEBUG,DEFAULT_URI,DATABASE_URL,MAILER_DSN,STRIPE_PUBLIC_KEY,STRIPE_SECRET_KEY,GEMINI_API_KEY,GEMINI_MODEL" |