CartController :: index
Request
GET Parameters
None
POST Parameters
None
Uploaded Files
None
Request Attributes
| Key | Value |
|---|---|
| _controller | "App\Controller\CartController::index" |
| _firewall_context | "security.firewall.map.context.main" |
| _redirected | true |
| _route | "app_cart_index" |
| _route_params | [] |
| _security_firewall_run | "_security_main" |
| _stopwatch_token | "19f6cf" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "sf_redirect=%7B%22token%22%3A%22a48cd8%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=619g3dlcvu70j1ahprc1j92mgc" |
| host | "www.mipeluco.com" |
| referer | "https://www.mipeluco.com/cart/add/20570" |
| 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:47:22 GMT" |
| x-debug-token | "68a008" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "619g3dlcvu70j1ahprc1j92mgc" |
| sf_redirect | "{"token":"a48cd8","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 3
Session Metadata
| Key | Value |
|---|---|
| Created | "Sat, 22 Aug 26 19:45:52 +0000" |
| Last used | "Sat, 22 Aug 26 19:47:22 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| cart | [ 13555 => 1 13534 => 1 25167 => 1 13548 => 1 19172 => 1 26017 => 1 24524 => 1 24020 => 1 22435 => 1 12176 => 1 21081 => 1 24649 => 1 15014 => 1 19022 => 1 24476 => 1 13909 => 1 18765 => 1 23496 => 1 22830 => 1 22829 => 1 13535 => 1 22832 => 1 22828 => 1 11524 => 1 10225 => 1 11526 => 1 13561 => 1 22833 => 1 13207 => 1 21066 => 1 11539 => 1 14299 => 1 10356 => 1 19798 => 1 24294 => 1 5400 => 1 13401 => 1 21056 => 1 12411 => 1 2056 => 1 10095 => 1 19835 => 1 7279 => 1 10339 => 1 24306 => 1 13385 => 1 5018 => 1 18684 => 1 21775 => 1 25525 => 1 21060 => 1 1175 => 1 4127 => 1 18042 => 1 16987 => 1 23711 => 1 6241 => 1 21070 => 1 17037 => 1 23449 => 1 6894 => 1 9055 => 1 14320 => 1 7816 => 1 13359 => 1 8349 => 1 25820 => 1 1036 => 1 16907 => 1 5429 => 1 1467 => 1 21013 => 1 11036 => 1 14959 => 1 11550 => 1 6276 => 1 2211 => 1 9368 => 1 14754 => 1 25523 => 1 1750 => 1 16145 => 1 9346 => 1 24541 => 1 17019 => 1 21733 => 1 21054 => 1 20901 => 1 9056 => 1 5958 => 1 6257 => 1 21049 => 1 14832 => 1 20570 => 1 ] |
| wishlist | [ 22829 13535 22832 22828 11524 10225 11526 13561 23374 13381 19631 6538 23921 18968 16440 21604 18283 19211 5842 4171 18315 19093 22611 25445 22833 13207 21066 11539 21056 21060 21070 11550 21054 6257 21049 14832 20570 11784 21050 6339 9358 3038 6338 14792 12786 1037 17022 21065 21046 6353 1082 15940 9364 5994 2824 2215 14727 13396 11535 14725 13383 11028 11533 15941 14833 24296 1197 21053 6412 7444 6012 7442 5975 1074 11544 6410 18079 11033 1287 5915 380 7304 1677 4344 18072 4407 14726 21041 4185 4404 4746 3289 14980 4110 9545 8256 5448 ] |
Session Usage
3
Usages
Stateless check enabled
| Usage |
|---|
App\Service\CartService:65
[
[
"file" => "/var/www/html/shop/src/Service/CartService.php"
"line" => 65
"function" => "get"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/var/www/html/shop/src/Controller/CartController.php"
"line" => 18
"function" => "getFullCart"
"class" => "App\Service\CartService"
"type" => "->"
]
[
"file" => "/var/www/html/shop/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 181
"function" => "index"
"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\WishlistService:17
[
[
"file" => "/var/www/html/shop/src/Service/WishlistService.php"
"line" => 17
"function" => "get"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/var/www/html/shop/src/Twig/Runtime/AppExtensionRuntime.php"
"line" => 39
"function" => "getWishlist"
"class" => "App\Service\WishlistService"
"type" => "->"
]
[
"file" => "/var/www/html/shop/var/cache/dev/twig/ca/cac06e46a2c83efa9c390d5a7b7a1256.php"
"line" => 368
"function" => "getWishlist"
"class" => "App\Twig\Runtime\AppExtensionRuntime"
"type" => "->"
]
[
"file" => "/var/www/html/shop/vendor/twig/twig/src/Template.php"
"line" => 411
"function" => "doDisplay"
"class" => "__TwigTemplate_f88c86e0a380cea4ad945600b100fe02"
"type" => "->"
]
[
"file" => "/var/www/html/shop/var/cache/dev/twig/c5/c525210e65ac33cb05a1f305c12d830b.php"
"line" => 89
"function" => "yield"
"class" => "Twig\Template"
"type" => "->"
]
[
"file" => "/var/www/html/shop/vendor/twig/twig/src/Template.php"
"line" => 411
"function" => "doDisplay"
"class" => "__TwigTemplate_2bc53a6b2e092c10839d90434388343b"
"type" => "->"
]
[
"file" => "/var/www/html/shop/var/cache/dev/twig/81/81a93ce916fc2818fae6f8ed7acec185.php"
"line" => 55
"function" => "yield"
"class" => "Twig\Template"
"type" => "->"
]
[
"file" => "/var/www/html/shop/vendor/twig/twig/src/Template.php"
"line" => 411
"function" => "doDisplay"
"class" => "__TwigTemplate_40561299cce8ca00db03110405c7fd18"
"type" => "->"
]
[
"file" => "/var/www/html/shop/vendor/twig/twig/src/Template.php"
"line" => 366
"function" => "yield"
"class" => "Twig\Template"
"type" => "->"
]
[
"file" => "/var/www/html/shop/vendor/twig/twig/src/Template.php"
"line" => 381
"function" => "display"
"class" => "Twig\Template"
"type" => "->"
]
[
"file" => "/var/www/html/shop/vendor/twig/twig/src/TemplateWrapper.php"
"line" => 51
"function" => "render"
"class" => "Twig\Template"
"type" => "->"
]
[
"file" => "/var/www/html/shop/vendor/twig/twig/src/Environment.php"
"line" => 333
"function" => "render"
"class" => "Twig\TemplateWrapper"
"type" => "->"
]
[
"file" => "/var/www/html/shop/vendor/symfony/framework-bundle/Controller/AbstractController.php"
"line" => 452
"function" => "render"
"class" => "Twig\Environment"
"type" => "->"
]
[
"file" => "/var/www/html/shop/vendor/symfony/framework-bundle/Controller/AbstractController.php"
"line" => 457
"function" => "doRenderView"
"class" => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController"
"type" => "->"
]
[
"file" => "/var/www/html/shop/vendor/symfony/framework-bundle/Controller/AbstractController.php"
"line" => 257
"function" => "doRender"
"class" => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController"
"type" => "->"
]
[
"file" => "/var/www/html/shop/src/Controller/CartController.php"
"line" => 17
"function" => "render"
"class" => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController"
"type" => "->"
]
[
"file" => "/var/www/html/shop/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 181
"function" => "index"
"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"
]
]
|
Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage:41
[
[
"file" => "/var/www/html/shop/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php"
"line" => 41
"function" => "getMetadataBag"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/var/www/html/shop/vendor/symfony/twig-bridge/AppVariable.php"
"line" => 103
"function" => "getToken"
"class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage"
"type" => "->"
]
[
"file" => "/var/www/html/shop/vendor/twig/twig/src/Extension/CoreExtension.php"
"line" => 1928
"function" => "getUser"
"class" => "Symfony\Bridge\Twig\AppVariable"
"type" => "->"
]
[
"file" => "/var/www/html/shop/var/cache/dev/twig/ca/cac06e46a2c83efa9c390d5a7b7a1256.php"
"line" => 395
"function" => "getAttribute"
"class" => "Twig\Extension\CoreExtension"
"type" => "::"
]
[
"file" => "/var/www/html/shop/vendor/twig/twig/src/Template.php"
"line" => 411
"function" => "doDisplay"
"class" => "__TwigTemplate_f88c86e0a380cea4ad945600b100fe02"
"type" => "->"
]
[
"file" => "/var/www/html/shop/var/cache/dev/twig/c5/c525210e65ac33cb05a1f305c12d830b.php"
"line" => 89
"function" => "yield"
"class" => "Twig\Template"
"type" => "->"
]
[
"file" => "/var/www/html/shop/vendor/twig/twig/src/Template.php"
"line" => 411
"function" => "doDisplay"
"class" => "__TwigTemplate_2bc53a6b2e092c10839d90434388343b"
"type" => "->"
]
[
"file" => "/var/www/html/shop/var/cache/dev/twig/81/81a93ce916fc2818fae6f8ed7acec185.php"
"line" => 55
"function" => "yield"
"class" => "Twig\Template"
"type" => "->"
]
[
"file" => "/var/www/html/shop/vendor/twig/twig/src/Template.php"
"line" => 411
"function" => "doDisplay"
"class" => "__TwigTemplate_40561299cce8ca00db03110405c7fd18"
"type" => "->"
]
[
"file" => "/var/www/html/shop/vendor/twig/twig/src/Template.php"
"line" => 366
"function" => "yield"
"class" => "Twig\Template"
"type" => "->"
]
[
"file" => "/var/www/html/shop/vendor/twig/twig/src/Template.php"
"line" => 381
"function" => "display"
"class" => "Twig\Template"
"type" => "->"
]
[
"file" => "/var/www/html/shop/vendor/twig/twig/src/TemplateWrapper.php"
"line" => 51
"function" => "render"
"class" => "Twig\Template"
"type" => "->"
]
[
"file" => "/var/www/html/shop/vendor/twig/twig/src/Environment.php"
"line" => 333
"function" => "render"
"class" => "Twig\TemplateWrapper"
"type" => "->"
]
[
"file" => "/var/www/html/shop/vendor/symfony/framework-bundle/Controller/AbstractController.php"
"line" => 452
"function" => "render"
"class" => "Twig\Environment"
"type" => "->"
]
[
"file" => "/var/www/html/shop/vendor/symfony/framework-bundle/Controller/AbstractController.php"
"line" => 457
"function" => "doRenderView"
"class" => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController"
"type" => "->"
]
[
"file" => "/var/www/html/shop/vendor/symfony/framework-bundle/Controller/AbstractController.php"
"line" => 257
"function" => "doRender"
"class" => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController"
"type" => "->"
]
[
"file" => "/var/www/html/shop/src/Controller/CartController.php"
"line" => 17
"function" => "render"
"class" => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController"
"type" => "->"
]
[
"file" => "/var/www/html/shop/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 181
"function" => "index"
"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%22a48cd8%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=619g3dlcvu70j1ahprc1j92mgc" |
| HTTP_HOST | "www.mipeluco.com" |
| HTTP_REFERER | "https://www.mipeluco.com/cart/add/20570" |
| 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" |
| REDIRECT_SCRIPT_URL | "/cart" |
| REDIRECT_SSL_TLS_SNI | "www.mipeluco.com" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/cart" |
| REMOTE_ADDR | "216.73.216.215" |
| REMOTE_PORT | "29418" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1787428042 |
| REQUEST_TIME_FLOAT | 1787428042.5073 |
| REQUEST_URI | "/cart" |
| SCRIPT_FILENAME | "/var/www/html/shop/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SCRIPT_URI | "https://www.mipeluco.com/cart" |
| SCRIPT_URL | "/cart" |
| 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" |