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" => "6213" ] |
| _stopwatch_token | "2cdb0d" |
| id | "6213" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "PHPSESSID=rmr5m4f5fu63joegt2mvp1eskg" |
| 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 16:12:51 GMT" |
| location | "/cart" |
| x-debug-token | "7e249b" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "rmr5m4f5fu63joegt2mvp1eskg" |
Response Cookies
No response cookies
Session 2
Session Metadata
| Key | Value |
|---|---|
| Created | "Sat, 29 Aug 26 16:11:54 +0000" |
| Last used | "Sat, 29 Aug 26 16:12:51 +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 20947 => 1 12708 => 1 13150 => 1 12595 => 1 10139 => 1 4009 => 1 8109 => 1 8882 => 1 23841 => 1 26520 => 1 22595 => 1 9420 => 1 12700 => 1 8413 => 1 10997 => 1 11254 => 1 8269 => 1 6213 => 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 4846 5256 6360 4062 3312 25014 6596 24965 8154 7450 9048 1645 8987 ] |
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=rmr5m4f5fu63joegt2mvp1eskg" |
| 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/6213" |
| REDIRECT_SCRIPT_URL | "/cart/add/6213" |
| REDIRECT_SSL_TLS_SNI | "shop.devlaboratory.es" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/cart/add/6213" |
| REMOTE_ADDR | "216.73.217.38" |
| REMOTE_PORT | "37063" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1788019971 |
| REQUEST_TIME_FLOAT | 1788019971.1402 |
| REQUEST_URI | "/cart/add/6213" |
| SCRIPT_FILENAME | "/var/www/html/shop/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SCRIPT_URI | "https://shop.devlaboratory.es/cart/add/6213" |
| SCRIPT_URL | "/cart/add/6213" |
| 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" |