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 | "bb241e" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "PHPSESSID=sv9do2of600kanah9a0kfhq17o; sf_redirect=%7B%22token%22%3A%2204b4e1%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" |
| host | "shop.devlaboratory.es" |
| referer | "https://shop.devlaboratory.es/cart/add/4278" |
| 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 13:34:01 GMT" |
| x-debug-token | "2cd93a" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "sv9do2of600kanah9a0kfhq17o" |
| sf_redirect | "{"token":"04b4e1","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 13:33:20 +0000" |
| Last used | "Sat, 29 Aug 26 13:34:01 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| cart | [ 11017 => 1 15324 => 1 1631 => 1 25957 => 1 14211 => 1 11256 => 1 10907 => 1 5624 => 1 10771 => 1 2327 => 1 13110 => 1 8040 => 1 24464 => 1 11078 => 1 9442 => 1 9416 => 1 11520 => 1 20769 => 1 11247 => 1 12258 => 1 2317 => 1 5288 => 1 3826 => 1 10602 => 1 9861 => 1 4662 => 1 21078 => 1 1400 => 1 14860 => 1 1716 => 1 2331 => 1 11226 => 1 21848 => 1 1196 => 1 3812 => 1 8144 => 1 5204 => 1 7826 => 1 25639 => 1 17679 => 1 23592 => 1 14067 => 1 5557 => 1 10700 => 1 6710 => 1 21784 => 1 10219 => 1 1403 => 1 10798 => 1 7187 => 1 14043 => 1 21846 => 1 13700 => 1 21989 => 1 6227 => 1 22284 => 1 13199 => 1 11935 => 1 1033 => 1 5990 => 1 10039 => 1 11516 => 1 18685 => 1 10356 => 1 2911 => 1 13865 => 1 10609 => 1 1756 => 1 7888 => 1 5520 => 1 1307 => 1 5190 => 1 14635 => 1 21103 => 1 6697 => 1 8996 => 1 20798 => 1 5962 => 1 8188 => 1 1357 => 1 21571 => 1 20504 => 1 8651 => 1 16468 => 1 11980 => 1 12997 => 1 6217 => 1 5625 => 1 3859 => 1 2206 => 1 1777 => 1 11952 => 1 28309 => 1 6584 => 1 9375 => 1 12259 => 1 20832 => 1 9462 => 1 1168 => 1 10158 => 1 22208 => 1 15970 => 1 13796 => 1 12684 => 1 16372 => 1 9128 => 1 21024 => 1 5719 => 1 13181 => 1 13329 => 1 6561 => 1 5268 => 1 1705 => 1 6677 => 1 6254 => 1 20880 => 1 13872 => 1 947 => 1 23639 => 1 15974 => 1 19624 => 1 2513 => 1 5524 => 1 1278 => 1 13694 => 1 4242 => 1 13683 => 1 25638 => 1 6218 => 1 13844 => 1 2308 => 1 10669 => 1 13433 => 1 9466 => 1 1713 => 1 18528 => 1 17658 => 1 6343 => 1 9382 => 1 8117 => 1 10027 => 1 5954 => 1 18153 => 1 9860 => 1 1719 => 1 22769 => 1 2738 => 1 23638 => 1 7827 => 1 3118 => 1 19302 => 1 2066 => 1 11227 => 1 1710 => 1 7894 => 1 8457 => 1 2739 => 1 22865 => 1 5526 => 1 17259 => 1 21734 => 1 17637 => 1 13071 => 1 12609 => 1 11024 => 1 10362 => 1 23562 => 1 7379 => 1 12830 => 1 12154 => 1 20867 => 1 19586 => 1 11795 => 1 12288 => 1 1857 => 1 6676 => 1 9167 => 1 3827 => 1 10840 => 1 9277 => 1 17787 => 1 4118 => 1 15699 => 1 10683 => 1 13734 => 1 1219 => 1 11974 => 1 11225 => 1 23567 => 1 13265 => 1 5193 => 1 2601 => 1 13362 => 1 14341 => 1 10218 => 1 23588 => 1 8190 => 1 20924 => 1 10460 => 1 20846 => 1 2057 => 1 17316 => 1 25210 => 1 12334 => 1 6689 => 1 5631 => 1 1331 => 1 20995 => 1 10216 => 1 21276 => 1 18708 => 1 23677 => 1 13429 => 1 15960 => 1 2217 => 1 12690 => 1 13100 => 1 22119 => 1 16544 => 1 2743 => 1 10592 => 1 8984 => 1 8890 => 1 4090 => 1 4706 => 1 1825 => 1 11702 => 1 13193 => 1 24049 => 1 13592 => 1 14637 => 1 10468 => 1 10833 => 1 7105 => 1 10143 => 1 4278 => 1 4761 => 1 8369 => 1 ] |
| wishlist | [ 7535 1014 1748 20992 3799 4701 1697 9477 7787 4484 4537 9657 7769 17836 5322 4636 8047 8728 8959 1035 12992 2867 8970 9461 6569 8137 3247 16481 8048 4084 9673 20190 12975 7220 5328 6844 4666 2828 9852 6447 8310 3598 9865 8092 3787 6492 9754 6841 9296 5307 8750 6903 6899 4741 9286 7432 23765 6722 6777 1689 9546 7735 4030 6372 3248 9788 7564 6937 24939 8192 8737 2809 3358 28355 20902 948 7170 8960 8768 7385 8480 1709 687 22792 7968 16397 25992 5264 4536 21086 6840 5495 6017 5162 5186 5334 7141 11697 7685 9548 5329 1807 8573 9792 1999 8435 2364 8923 4034 7897 11087 6498 17870 6702 16488 24932 6434 12239 3214 8538 8920 16486 10690 7520 7764 5375 8084 28348 4668 5296 2848 8319 4055 23705 12977 8326 6085 7103 3699 13614 ] |
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 | "PHPSESSID=sv9do2of600kanah9a0kfhq17o; sf_redirect=%7B%22token%22%3A%2204b4e1%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" |
| HTTP_HOST | "shop.devlaboratory.es" |
| HTTP_REFERER | "https://shop.devlaboratory.es/cart/add/4278" |
| 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 | "9358" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1788010440 |
| REQUEST_TIME_FLOAT | 1788010440.8288 |
| 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" |