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" => "16223" ] |
| _stopwatch_token | "2d728e" |
| id | "16223" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "PHPSESSID=79tof7570k6jn7g34immqnfehr" |
| 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 15:20:02 GMT" |
| location | "/cart" |
| x-debug-token | "8e709a" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "79tof7570k6jn7g34immqnfehr" |
Response Cookies
No response cookies
Session 2
Session Metadata
| Key | Value |
|---|---|
| Created | "Sat, 29 Aug 26 15:19:32 +0000" |
| Last used | "Sat, 29 Aug 26 15:20:02 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| cart | [ 26837 => 1 2514 => 1 13018 => 1 21280 => 1 5527 => 1 25666 => 1 24161 => 1 13642 => 1 12819 => 1 12778 => 1 16442 => 1 1757 => 1 4266 => 1 12376 => 1 9996 => 1 11339 => 1 21387 => 1 22222 => 1 11609 => 1 13247 => 1 5542 => 1 6680 => 1 20244 => 1 8194 => 1 20870 => 1 23549 => 1 16946 => 1 9453 => 1 9310 => 1 14302 => 1 22579 => 1 13336 => 1 10898 => 1 23086 => 1 15720 => 1 20919 => 1 21383 => 1 1961 => 1 16948 => 1 26514 => 1 22190 => 1 12701 => 1 1571 => 1 23550 => 1 21160 => 1 12346 => 1 23453 => 1 19599 => 1 17376 => 1 19807 => 1 15674 => 1 6391 => 1 9266 => 1 18707 => 1 14236 => 1 16557 => 1 13276 => 1 22569 => 1 8257 => 1 6695 => 1 21234 => 1 2488 => 1 18499 => 1 24374 => 1 12799 => 1 17762 => 1 28303 => 1 21719 => 1 18704 => 1 7395 => 1 11445 => 1 13703 => 1 9180 => 1 13829 => 1 11012 => 1 11734 => 1 2061 => 1 6292 => 1 3865 => 1 13704 => 1 12378 => 1 5415 => 1 13720 => 1 26474 => 1 15629 => 1 21644 => 1 21744 => 1 22990 => 1 6287 => 1 23309 => 1 16093 => 1 21947 => 1 1288 => 1 22093 => 1 27175 => 1 6361 => 1 25167 => 1 21563 => 1 26626 => 1 18636 => 1 14982 => 1 2119 => 1 24679 => 1 26591 => 1 24276 => 1 26632 => 1 19852 => 1 15834 => 1 23284 => 1 9958 => 1 16223 => 1 ] |
| wishlist | [ 2745 10141 20564 8588 1869 10345 8517 15045 11040 20765 11079 2322 10693 2847 1952 923 6820 4412 9539 6183 4407 8571 28339 2048 5663 1241 5755 11014 16360 9573 22161 7200 6752 8468 12403 11252 5274 7224 8900 9679 5443 14726 7311 20784 8446 7067 2069 10682 2741 7217 6529 6162 2744 9543 9233 7394 5932 4750 6769 5336 13337 4748 1765 12434 8258 5744 10698 3055 13883 17403 8405 13682 7716 9359 8527 11064 7387 6413 21171 1799 6924 9161 1406 3477 4024 1095 6327 8724 7006 9015 26541 1701 1395 11069 13693 8265 7575 8914 3698 1040 7912 1077 16347 14213 8766 5221 2328 9388 6568 8726 14872 6590 2565 7558 6598 8219 4531 6911 21035 9401 4494 3874 7398 6410 8338 23737 14869 2080 23698 6416 1880 15044 5401 16883 10340 24916 1647 3512 8368 1989 2232 25522 24313 16375 26533 2810 7267 6412 16059 19657 2827 20871 9362 14833 13754 1295 24892 ] |
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=79tof7570k6jn7g34immqnfehr" |
| 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/16223" |
| REDIRECT_SCRIPT_URL | "/cart/add/16223" |
| REDIRECT_SSL_TLS_SNI | "shop.devlaboratory.es" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/cart/add/16223" |
| REMOTE_ADDR | "216.73.217.38" |
| REMOTE_PORT | "51496" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1788016802 |
| REQUEST_TIME_FLOAT | 1788016802.4848 |
| REQUEST_URI | "/cart/add/16223" |
| SCRIPT_FILENAME | "/var/www/html/shop/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SCRIPT_URI | "https://shop.devlaboratory.es/cart/add/16223" |
| SCRIPT_URL | "/cart/add/16223" |
| 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" |