CartController :: add
Request
GET Parameters
None
POST Parameters
None
Uploaded Files
None
Request Attributes
| Key | Value |
|---|---|
| _access_control_attributes | null |
| _controller | "App\Controller\CartController::add" |
| _firewall_context | "security.firewall.map.context.main" |
| _route | "app_cart_add" |
| _route_params | [ "id" => "4971" ] |
| _stopwatch_token | "79a634" |
| id | "4971" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "PHPSESSID=ubcgqup0esckubu6dr05qvhlqj" |
| host | "shop.devlaboratory.es" |
| 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:47:24 GMT" |
| location | "/cart" |
| x-debug-token | "50b9ba" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "ubcgqup0esckubu6dr05qvhlqj" |
Response Cookies
No response cookies
Session 2
Session Metadata
| Key | Value |
|---|---|
| Created | "Sat, 29 Aug 26 12:46:08 +0000" |
| Last used | "Sat, 29 Aug 26 12:47:24 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| cart | [ 17841 => 1 19829 => 1 11684 => 1 511 => 1 2001 => 1 4530 => 1 2575 => 1 643 => 1 950 => 1 3 => 1 910 => 1 12349 => 1 17577 => 1 2004 => 1 7 => 1 992 => 1 445 => 1 17548 => 1 652 => 1 9502 => 1 7331 => 1 5 => 1 17549 => 1 89 => 1 8 => 1 17560 => 1 28186 => 1 8331 => 1 641 => 1 17538 => 1 6 => 1 682 => 1 9 => 1 993 => 1 6972 => 1 22331 => 1 4366 => 1 5145 => 1 795 => 1 975 => 1 28343 => 1 665 => 1 1990 => 1 154 => 1 5347 => 1 709 => 1 405 => 1 16 => 1 16111 => 1 22017 => 1 34 => 1 2201 => 1 56 => 1 153 => 1 13 => 1 796 => 1 8043 => 1 690 => 1 10331 => 1 997 => 1 17954 => 1 11680 => 1 8570 => 1 418 => 1 504 => 1 12 => 1 24331 => 1 1900 => 1 13331 => 1 11664 => 1 11699 => 1 17331 => 1 31 => 1 12331 => 1 2452 => 1 11622 => 1 503 => 1 768 => 1 706 => 1 757 => 1 760 => 1 758 => 1 1111 => 1 3602 => 1 642 => 1 9783 => 1 7948 => 1 11655 => 1 1027 => 1 2152 => 1 8763 => 1 762 => 1 911 => 1 4643 => 1 5477 => 1 22751 => 1 7553 => 1 2736 => 1 22706 => 1 440 => 1 535 => 1 11618 => 1 3263 => 1 4606 => 1 8908 => 1 7679 => 1 9507 => 1 8772 => 1 7166 => 1 2013 => 1 4136 => 1 11619 => 1 8554 => 1 2192 => 1 2145 => 1 3972 => 1 21082 => 1 12866 => 1 3983 => 1 11620 => 1 3941 => 1 7175 => 1 7151 => 1 2153 => 1 2115 => 1 4615 => 1 13086 => 1 2500 => 1 4239 => 1 2154 => 1 11617 => 1 2155 => 1 3969 => 1 7906 => 1 7516 => 1 3952 => 1 5166 => 1 1306 => 1 3935 => 1 659 => 1 654 => 1 7992 => 1 12840 => 1 9701 => 1 1817 => 1 980 => 1 8335 => 1 5151 => 1 6002 => 1 9782 => 1 2148 => 1 3928 => 1 17366 => 1 4064 => 1 7233 => 1 1979 => 1 4342 => 1 3554 => 1 3932 => 1 8656 => 1 4012 => 1 7014 => 1 894 => 1 986 => 1 3967 => 1 2159 => 1 6232 => 1 8151 => 1 9745 => 1 9765 => 1 4271 => 1 3929 => 1 990 => 1 953 => 1 4641 => 1 9744 => 1 7983 => 1 7902 => 1 9232 => 1 9506 => 1 7397 => 1 3949 => 1 8985 => 1 3142 => 1 9735 => 1 2182 => 1 15664 => 1 9780 => 1 8971 => 1 14366 => 1 6563 => 1 8136 => 1 956 => 1 10596 => 1 10000 => 1 1950 => 1 7488 => 1 8293 => 1 8992 => 1 3371 => 1 3930 => 1 4686 => 1 13699 => 1 22652 => 1 7201 => 1 22656 => 1 8482 => 1 505 => 1 1966 => 1 361 => 1 8530 => 1 13640 => 1 23751 => 1 6151 => 1 2189 => 1 12232 => 1 5482 => 1 2240 => 1 13633 => 1 9775 => 1 8907 => 1 8014 => 1 4282 => 1 9748 => 1 14616 => 1 691 => 1 9767 => 1 1996 => 1 8752 => 1 4036 => 1 24902 => 1 4402 => 1 2157 => 1 9747 => 1 7429 => 1 7971 => 1 9746 => 1 7909 => 1 13664 => 1 7900 => 1 8481 => 1 7693 => 1 9741 => 1 444 => 1 5271 => 1 1992 => 1 2158 => 1 22136 => 1 6509 => 1 8301 => 1 9749 => 1 7337 => 1 8399 => 1 3261 => 1 13628 => 1 7883 => 1 7252 => 1 1685 => 1 3956 => 1 9750 => 1 23554 => 1 7108 => 1 5136 => 1 3376 => 1 5083 => 1 13639 => 1 6239 => 1 8906 => 1 8201 => 1 8976 => 1 7461 => 1 3389 => 1 6567 => 1 23637 => 1 8973 => 1 5263 => 1 8486 => 1 11047 => 1 6014 => 1 6743 => 1 21005 => 1 8322 => 1 954 => 1 7907 => 1 6348 => 1 9753 => 1 8380 => 1 7262 => 1 6512 => 1 2807 => 1 4086 => 1 1682 => 1 8352 => 1 8922 => 1 4348 => 1 3249 => 1 3391 => 1 9239 => 1 8963 => 1 17697 => 1 2202 => 1 8403 => 1 1016 => 1 7345 => 1 8263 => 1 8944 => 1 9552 => 1 3957 => 1 13151 => 1 7600 => 1 7435 => 1 3385 => 1 3377 => 1 8686 => 1 4645 => 1 9537 => 1 3196 => 1 3383 => 1 7680 => 1 8484 => 1 8323 => 1 5142 => 1 17899 => 1 8593 => 1 365 => 1 5380 => 1 8979 => 1 13634 => 1 4072 => 1 8034 => 1 3931 => 1 24909 => 1 9760 => 1 23367 => 1 6497 => 1 9060 => 1 9864 => 1 8541 => 1 8097 => 1 7409 => 1 3387 => 1 23904 => 1 13655 => 1 7616 => 1 2297 => 1 9716 => 1 8773 => 1 7602 => 1 2156 => 1 5604 => 1 3115 => 1 6973 => 1 7017 => 1 4640 => 1 8312 => 1 6476 => 1 8337 => 1 9526 => 1 8774 => 1 5146 => 1 24907 => 1 895 => 1 4472 => 1 4971 => 1 ] |
| wishlist | [ 17841 19829 11684 511 2001 2575 4530 643 950 3 910 17577 2004 12349 7 992 445 9502 7331 17548 652 5 17549 89 8 17560 28186 8331 641 17538 6 682 9 6972 4366 22331 993 5145 795 28343 975 1990 665 154 22017 16111 5347 16 709 405 2201 34 8043 56 17954 13 153 10331 8570 796 690 11680 997 24331 504 13331 418 12 11664 17331 1900 12331 11699 2452 31 11622 503 768 706 757 3602 9783 760 1111 758 7948 642 2152 11655 8763 1027 ] |
Session Usage
2
Usages
Stateless check enabled
| Usage |
|---|
App\Service\CartService:23
[
[
"file" => "/var/www/html/shop/src/Service/CartService.php"
"line" => 23
"function" => "get"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/var/www/html/shop/src/Controller/CartController.php"
"line" => 26
"function" => "add"
"class" => "App\Service\CartService"
"type" => "->"
]
[
"file" => "/var/www/html/shop/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 181
"function" => "add"
"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\CartService:31
[
[
"file" => "/var/www/html/shop/src/Service/CartService.php"
"line" => 31
"function" => "set"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/var/www/html/shop/src/Controller/CartController.php"
"line" => 26
"function" => "add"
"class" => "App\Service\CartService"
"type" => "->"
]
[
"file" => "/var/www/html/shop/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 181
"function" => "add"
"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=ubcgqup0esckubu6dr05qvhlqj" |
| HTTP_HOST | "shop.devlaboratory.es" |
| 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/add/4971" |
| REDIRECT_SCRIPT_URL | "/cart/add/4971" |
| REDIRECT_SSL_TLS_SNI | "shop.devlaboratory.es" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/cart/add/4971" |
| REMOTE_ADDR | "216.73.217.38" |
| REMOTE_PORT | "61485" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1788007643 |
| REQUEST_TIME_FLOAT | 1788007643.5492 |
| REQUEST_URI | "/cart/add/4971" |
| SCRIPT_FILENAME | "/var/www/html/shop/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SCRIPT_URI | "https://shop.devlaboratory.es/cart/add/4971" |
| SCRIPT_URL | "/cart/add/4971" |
| 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" |