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 | "9a1b9d" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "sf_redirect=%7B%22token%22%3A%22492669%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=rmr5m4f5fu63joegt2mvp1eskg" |
| host | "shop.devlaboratory.es" |
| referer | "https://shop.devlaboratory.es/cart/add/21130" |
| 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, 29 Aug 2026 16:12:47 GMT" |
| x-debug-token | "e82344" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "rmr5m4f5fu63joegt2mvp1eskg" |
| sf_redirect | "{"token":"492669","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, 29 Aug 26 16:11:54 +0000" |
| Last used | "Sat, 29 Aug 26 16:12:47 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| cart | [ 1096 => 1 4442 => 1 1204 => 1 3319 => 1 8220 => 1 21741 => 1 10902 => 1 25822 => 1 17031 => 1 9446 => 1 11784 => 1 2498 => 1 1747 => 1 9907 => 1 21701 => 1 26547 => 1 16558 => 1 26567 => 1 2390 => 1 2792 => 1 9052 => 1 10375 => 1 2165 => 1 25396 => 1 22962 => 1 23072 => 1 23503 => 1 3677 => 1 5958 => 1 4778 => 1 26575 => 1 8214 => 1 11567 => 1 6253 => 1 26529 => 1 2795 => 1 17075 => 1 24704 => 1 9058 => 1 7164 => 1 8608 => 1 12879 => 1 14883 => 1 26527 => 1 15046 => 1 8424 => 1 2358 => 1 14829 => 1 5959 => 1 5859 => 1 4503 => 1 3511 => 1 12412 => 1 8158 => 1 4782 => 1 3269 => 1 5444 => 1 6244 => 1 24541 => 1 11301 => 1 26992 => 1 7890 => 1 21769 => 1 17019 => 1 25804 => 1 24672 => 1 5432 => 1 17345 => 1 25490 => 1 10404 => 1 22904 => 1 11068 => 1 17030 => 1 28054 => 1 6009 => 1 15975 => 1 26549 => 1 4815 => 1 23314 => 1 2211 => 1 9455 => 1 25523 => 1 23013 => 1 1659 => 1 11046 => 1 5475 => 1 8223 => 1 8425 => 1 3561 => 1 14754 => 1 17813 => 1 20237 => 1 2455 => 1 7867 => 1 5838 => 1 2915 => 1 15732 => 1 1058 => 1 6332 => 1 5905 => 1 2796 => 1 11036 => 1 24352 => 1 23766 => 1 10104 => 1 4300 => 1 3818 => 1 6388 => 1 3279 => 1 23679 => 1 1958 => 1 1660 => 1 16907 => 1 11786 => 1 19790 => 1 23772 => 1 22667 => 1 9353 => 1 7961 => 1 26568 => 1 23015 => 1 24258 => 1 6250 => 1 10347 => 1 6394 => 1 24558 => 1 7816 => 1 6411 => 1 14868 => 1 25830 => 1 12653 => 1 2243 => 1 10086 => 1 4717 => 1 10936 => 1 12839 => 1 23602 => 1 3912 => 1 21777 => 1 6387 => 1 23711 => 1 5639 => 1 24692 => 1 5920 => 1 27007 => 1 3617 => 1 1175 => 1 16997 => 1 26536 => 1 6335 => 1 10130 => 1 11945 => 1 17237 => 1 16665 => 1 18154 => 1 10370 => 1 15214 => 1 10137 => 1 11059 => 1 18161 => 1 6382 => 1 23768 => 1 25525 => 1 27161 => 1 17007 => 1 14064 => 1 2523 => 1 4230 => 1 5739 => 1 19334 => 1 7751 => 1 9688 => 1 24153 => 1 14047 => 1 18183 => 1 1238 => 1 10801 => 1 25327 => 1 9041 => 1 26538 => 1 5228 => 1 15645 => 1 8868 => 1 23613 => 1 17684 => 1 8867 => 1 14080 => 1 10869 => 1 9419 => 1 25281 => 1 5775 => 1 9092 => 1 18858 => 1 28126 => 1 24586 => 1 27504 => 1 5008 => 1 17772 => 1 10973 => 1 16376 => 1 23565 => 1 24708 => 1 1931 => 1 25997 => 1 23758 => 1 9203 => 1 1984 => 1 11510 => 1 16113 => 1 9134 => 1 16499 => 1 12798 => 1 11953 => 1 1894 => 1 16908 => 1 2904 => 1 12199 => 1 21004 => 1 8836 => 1 22869 => 1 16121 => 1 11152 => 1 23338 => 1 13358 => 1 4719 => 1 16141 => 1 2510 => 1 21031 => 1 12356 => 1 11025 => 1 10020 => 1 24669 => 1 11692 => 1 8193 => 1 4695 => 1 8268 => 1 11977 => 1 21130 => 1 5198 => 1 26524 => 1 7195 => 1 5914 => 1 ] |
| wishlist | [ 3605 2144 21458 168 3335 3175 5348 2907 3205 16166 4097 8632 3372 22201 6409 4083 5282 3443 23652 3563 9718 3259 4040 3256 28073 8262 7944 5280 2272 2873 7935 5019 3897 2906 3347 3348 2973 1671 20192 5345 18652 26751 9569 4384 8396 2198 2879 4575 26850 14733 933 935 2233 5404 3336 7334 16239 2177 19795 1504 14735 9845 6446 28022 23966 23799 1606 4787 4017 4987 5115 4248 2846 9828 7446 21802 8982 23786 8385 9779 6900 4667 6750 5945 1897 8747 9067 8560 8325 28048 13245 5199 17839 8422 6318 1699 24904 8259 6748 7218 636 7548 7754 6493 819 6729 23780 9804 20481 ] |
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" => 261
"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" => 109
"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" => 288
"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" => 109
"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_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 |
|---|---|
| APP_DEBUG | "1" |
| 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%22492669%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=rmr5m4f5fu63joegt2mvp1eskg" |
| HTTP_HOST | "shop.devlaboratory.es" |
| HTTP_REFERER | "https://shop.devlaboratory.es/cart/add/21130" |
| 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://shop.devlaboratory.es/cart" |
| REDIRECT_SCRIPT_URL | "/cart" |
| REDIRECT_SSL_TLS_SNI | "shop.devlaboratory.es" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/cart" |
| REMOTE_ADDR | "216.73.217.38" |
| REMOTE_PORT | "54507" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1788019967 |
| REQUEST_TIME_FLOAT | 1788019967.0569 |
| REQUEST_URI | "/cart" |
| SCRIPT_FILENAME | "/var/www/html/shop/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SCRIPT_URI | "https://shop.devlaboratory.es/cart" |
| SCRIPT_URL | "/cart" |
| SERVER_ADDR | "148.113.201.140" |
| SERVER_ADMIN | "[no address given]" |
| SERVER_NAME | "shop.devlaboratory.es" |
| SERVER_PORT | "443" |
| SERVER_PROTOCOL | "HTTP/1.1" |
| SERVER_SIGNATURE | "<address>Apache/2.4.62 (Ubuntu) Server at shop.devlaboratory.es Port 443</address>\n" |
| SERVER_SOFTWARE | "Apache/2.4.62 (Ubuntu)" |
| SSL_TLS_SNI | "shop.devlaboratory.es" |
| SYMFONY_DOTENV_VARS | "APP_ENV,APP_SECRET,APP_SHARE_DIR,DEFAULT_URI,DATABASE_URL,MAILER_DSN,GEMINI_API_KEY,GEMINI_MODEL" |