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 | "88e7ec" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "sf_redirect=%7B%22token%22%3A%2254c9bd%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=prei9rndf4lct13q00d7aerdq8" |
| host | "shop.devlaboratory.es" |
| referer | "https://shop.devlaboratory.es/cart/add/11531" |
| 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 14:29:45 GMT" |
| x-debug-token | "3ad9cb" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "prei9rndf4lct13q00d7aerdq8" |
| sf_redirect | "{"token":"54c9bd","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 14:28:41 +0000" |
| Last used | "Sat, 29 Aug 26 14:29:44 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| cart | [ 288 => 1 11633 => 1 18 => 1 210 => 1 798 => 1 25 => 1 460 => 1 11632 => 1 6366 => 1 121 => 1 62 => 1 18655 => 1 26322 => 1 274 => 1 368 => 1 2129 => 1 808 => 1 982 => 1 378 => 1 501 => 1 61 => 1 13653 => 1 875 => 1 2191 => 1 2188 => 1 17521 => 1 462 => 1 1972 => 1 26323 => 1 4191 => 1 377 => 1 23902 => 1 10366 => 1 2006 => 1 158 => 1 351 => 1 1102 => 1 9840 => 1 453 => 1 135 => 1 519 => 1 9367 => 1 18596 => 1 4571 => 1 745 => 1 4243 => 1 5697 => 1 2133 => 1 983 => 1 769 => 1 9656 => 1 2525 => 1 2185 => 1 5352 => 1 8342 => 1 25307 => 1 8071 => 1 2134 => 1 17873 => 1 125 => 1 6392 => 1 23232 => 1 7010 => 1 6345 => 1 17818 => 1 2131 => 1 2168 => 1 4572 => 1 168 => 1 21458 => 1 2909 => 1 3281 => 1 2144 => 1 16166 => 1 5348 => 1 3335 => 1 3175 => 1 4097 => 1 2907 => 1 3205 => 1 3372 => 1 4083 => 1 5282 => 1 6409 => 1 3563 => 1 23652 => 1 3443 => 1 3259 => 1 4040 => 1 8262 => 1 7944 => 1 28073 => 1 3256 => 1 2272 => 1 2873 => 1 5019 => 1 7935 => 1 3897 => 1 3347 => 1 2906 => 1 1671 => 1 8396 => 1 3348 => 1 2973 => 1 20192 => 1 9569 => 1 18652 => 1 5345 => 1 26751 => 1 2198 => 1 26850 => 1 14733 => 1 4384 => 1 2879 => 1 14735 => 1 16239 => 1 4575 => 1 19795 => 1 2233 => 1 915 => 1 933 => 1 935 => 1 5404 => 1 3336 => 1 1504 => 1 7334 => 1 14743 => 1 2177 => 1 9845 => 1 9844 => 1 4630 => 1 6464 => 1 5458 => 1 9841 => 1 3290 => 1 8360 => 1 4170 => 1 14907 => 1 28337 => 1 6010 => 1 6904 => 1 2908 => 1 2222 => 1 4252 => 1 4130 => 1 2228 => 1 8465 => 1 14728 => 1 2235 => 1 2194 => 1 6396 => 1 18552 => 1 2980 => 1 6341 => 1 2142 => 1 4338 => 1 14768 => 1 17439 => 1 2118 => 1 5976 => 1 14747 => 1 15071 => 1 5154 => 1 28129 => 1 9031 => 1 12293 => 1 6311 => 1 3291 => 1 8320 => 1 823 => 1 10101 => 1 23488 => 1 6853 => 1 14729 => 1 9022 => 1 4757 => 1 3558 => 1 6595 => 1 14973 => 1 9653 => 1 4586 => 1 12480 => 1 7619 => 1 5690 => 1 9934 => 1 23769 => 1 26565 => 1 1464 => 1 1105 => 1 28047 => 1 8259 => 1 5945 => 1 8385 => 1 9067 => 1 28048 => 1 8422 => 1 25014 => 1 3312 => 1 25973 => 1 24965 => 1 8684 => 1 6360 => 1 23780 => 1 5256 => 1 819 => 1 1645 => 1 3873 => 1 2237 => 1 5879 => 1 6596 => 1 14985 => 1 13488 => 1 25541 => 1 5669 => 1 1665 => 1 3343 => 1 4295 => 1 12432 => 1 3077 => 1 5933 => 1 4332 => 1 4189 => 1 25829 => 1 4070 => 1 5940 => 1 17481 => 1 4463 => 1 4207 => 1 3140 => 1 3872 => 1 826 => 1 14940 => 1 24705 => 1 4345 => 1 8467 => 1 9050 => 1 1871 => 1 4133 => 1 7863 => 1 11073 => 1 1085 => 1 25533 => 1 11531 => 1 8256 => 1 12430 => 1 ] |
| wishlist | [ 413 18656 802 86 6000 20587 810 11601 447 451 459 255 60 22018 11633 18 288 210 798 25 18655 460 11632 6366 1968 62 121 26322 2129 368 274 982 808 378 61 501 2191 2188 875 17521 462 1972 4191 26323 377 23902 10366 2006 1102 158 351 9840 453 135 9367 519 18596 ] |
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%2254c9bd%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=prei9rndf4lct13q00d7aerdq8" |
| HTTP_HOST | "shop.devlaboratory.es" |
| HTTP_REFERER | "https://shop.devlaboratory.es/cart/add/11531" |
| 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 | "8797" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1788013783 |
| REQUEST_TIME_FLOAT | 1788013783.9524 |
| 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" |