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 | "39b7ec" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "sf_redirect=%7B%22token%22%3A%22ed6021%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=e2t64hbheqcipcv4rnq9b1o3v1" |
| host | "shop.devlaboratory.es" |
| referer | "https://shop.devlaboratory.es/cart/add/17488" |
| 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 12:48:09 GMT" |
| x-debug-token | "7ada11" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "e2t64hbheqcipcv4rnq9b1o3v1" |
| sf_redirect | "{"token":"ed6021","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 12:47:44 +0000" |
| Last used | "Sat, 29 Aug 26 12:48:08 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| cart | [ 4058 => 1 8644 => 1 7437 => 1 11029 => 1 16660 => 1 11245 => 1 6178 => 1 2597 => 1 7625 => 1 1385 => 1 3863 => 1 6536 => 1 7916 => 1 4539 => 1 9892 => 1 14569 => 1 9837 => 1 1797 => 1 1707 => 1 7845 => 1 7746 => 1 9047 => 1 6532 => 1 3841 => 1 5148 => 1 6490 => 1 3695 => 1 2218 => 1 20486 => 1 2379 => 1 13352 => 1 2473 => 1 6479 => 1 6546 => 1 21091 => 1 1670 => 1 21322 => 1 9030 => 1 21847 => 1 7320 => 1 10352 => 1 21873 => 1 22264 => 1 7219 => 1 7244 => 1 7918 => 1 11244 => 1 4111 => 1 8475 => 1 9049 => 1 7213 => 1 2453 => 1 5601 => 1 4256 => 1 4059 => 1 1891 => 1 2387 => 1 8016 => 1 8754 => 1 7808 => 1 21028 => 1 6548 => 1 9850 => 1 11201 => 1 11241 => 1 7707 => 1 9458 => 1 6500 => 1 4060 => 1 11265 => 1 1044 => 1 24934 => 1 742 => 1 3245 => 1 3775 => 1 1633 => 1 11272 => 1 1383 => 1 8330 => 1 6918 => 1 15545 => 1 11091 => 1 432 => 1 5251 => 1 23784 => 1 23728 => 1 6324 => 1 8058 => 1 5170 => 1 9404 => 1 7533 => 1 9675 => 1 8708 => 1 8723 => 1 6734 => 1 12342 => 1 3703 => 1 6426 => 1 5121 => 1 7530 => 1 10263 => 1 7841 => 1 3476 => 1 7065 => 1 8055 => 1 1901 => 1 4049 => 1 1008 => 1 6709 => 1 3487 => 1 13403 => 1 7732 => 1 4301 => 1 24937 => 1 8103 => 1 7095 => 1 12705 => 1 2789 => 1 21187 => 1 9795 => 1 6035 => 1 1291 => 1 7534 => 1 5485 => 1 1399 => 1 1863 => 1 9849 => 1 3729 => 1 7436 => 1 9545 => 1 4119 => 1 1273 => 1 11208 => 1 5100 => 1 9062 => 1 2352 => 1 3840 => 1 7086 => 1 5205 => 1 8669 => 1 2085 => 1 7537 => 1 4039 => 1 9341 => 1 3516 => 1 1365 => 1 15544 => 1 15541 => 1 7750 => 1 7522 => 1 28347 => 1 5300 => 1 1680 => 1 7176 => 1 21085 => 1 24903 => 1 20802 => 1 11552 => 1 4015 => 1 7905 => 1 7938 => 1 1845 => 1 7749 => 1 9560 => 1 8100 => 1 21072 => 1 6320 => 1 3869 => 1 1801 => 1 4950 => 1 7388 => 1 8670 => 1 18345 => 1 28341 => 1 17488 => 1 5210 => 1 ] |
| wishlist | [ 9506 14366 8985 10596 8971 15664 6563 3142 7488 8136 8992 9744 3371 3930 23751 956 1950 7201 4686 22652 8293 22656 8530 9780 9735 10000 2189 6151 13699 1966 12232 8482 ] |
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%22ed6021%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=e2t64hbheqcipcv4rnq9b1o3v1" |
| HTTP_HOST | "shop.devlaboratory.es" |
| HTTP_REFERER | "https://shop.devlaboratory.es/cart/add/17488" |
| 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 | "6531" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1788007687 |
| REQUEST_TIME_FLOAT | 1788007687.8229 |
| 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" |