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" => "10844" ] |
| _stopwatch_token | "a9e9a1" |
| id | "10844" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "PHPSESSID=i635g472m7vghu3kpak0rhas05" |
| 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:08:06 GMT" |
| location | "/cart" |
| x-debug-token | "6dc3cb" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "i635g472m7vghu3kpak0rhas05" |
Response Cookies
No response cookies
Session 2
Session Metadata
| Key | Value |
|---|---|
| Created | "Sat, 29 Aug 26 15:07:34 +0000" |
| Last used | "Sat, 29 Aug 26 15:08:06 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| cart | [ 7852 => 1 1404 => 1 7518 => 1 10231 => 1 10041 => 1 8415 => 1 12152 => 1 21015 => 1 5919 => 1 8386 => 1 11534 => 1 1031 => 1 3114 => 1 7759 => 1 12702 => 1 2537 => 1 8186 => 1 2070 => 1 13253 => 1 19255 => 1 13327 => 1 22176 => 1 2310 => 1 13149 => 1 19149 => 1 5823 => 1 2790 => 1 1236 => 1 9018 => 1 12864 => 1 9697 => 1 12341 => 1 10150 => 1 16658 => 1 1790 => 1 1146 => 1 10892 => 1 5924 => 1 13690 => 1 9400 => 1 5912 => 1 8414 => 1 9476 => 1 3011 => 1 21504 => 1 11023 => 1 9496 => 1 1626 => 1 4107 => 1 9811 => 1 25995 => 1 13154 => 1 8406 => 1 8164 => 1 21865 => 1 10168 => 1 1805 => 1 2570 => 1 16384 => 1 23644 => 1 1860 => 1 10070 => 1 8782 => 1 6854 => 1 7819 => 1 21746 => 1 13787 => 1 1240 => 1 5619 => 1 19639 => 1 17347 => 1 21704 => 1 10684 => 1 20770 => 1 13016 => 1 9275 => 1 16995 => 1 16356 => 1 2324 => 1 2312 => 1 12255 => 1 1856 => 1 10600 => 1 3662 => 1 13153 => 1 2326 => 1 1430 => 1 14517 => 1 13747 => 1 7198 => 1 8462 => 1 12846 => 1 7885 => 1 13746 => 1 9842 => 1 5468 => 1 5188 => 1 18699 => 1 1465 => 1 20510 => 1 11979 => 1 8287 => 1 21782 => 1 5647 => 1 8849 => 1 11266 => 1 8884 => 1 22701 => 1 10019 => 1 12205 => 1 21056 => 1 14859 => 1 21633 => 1 8160 => 1 10644 => 1 8654 => 1 10018 => 1 5627 => 1 1846 => 1 2438 => 1 1723 => 1 12359 => 1 12671 => 1 7561 => 1 25161 => 1 13772 => 1 19563 => 1 6994 => 1 13196 => 1 22741 => 1 10844 => 1 ] |
| wishlist | [ 18151 4532 9564 6589 9809 4665 12295 12995 9734 9538 3382 22009 8749 3334 9863 4067 6948 7540 9784 3252 8575 8767 8064 4409 2806 8549 8178 7929 8463 6019 3283 7683 4696 22142 24933 6733 3121 8558 4294 6505 6428 8022 6873 19475 5149 8316 16014 4549 8653 3206 3547 4048 8264 3676 12979 20847 3089 6544 8458 6477 5563 21014 2969 13239 5161 7112 22243 7281 10992 ] |
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=i635g472m7vghu3kpak0rhas05" |
| 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/10844" |
| REDIRECT_SCRIPT_URL | "/cart/add/10844" |
| REDIRECT_SSL_TLS_SNI | "shop.devlaboratory.es" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/cart/add/10844" |
| REMOTE_ADDR | "216.73.217.38" |
| REMOTE_PORT | "41829" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1788016086 |
| REQUEST_TIME_FLOAT | 1788016086.21 |
| REQUEST_URI | "/cart/add/10844" |
| SCRIPT_FILENAME | "/var/www/html/shop/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SCRIPT_URI | "https://shop.devlaboratory.es/cart/add/10844" |
| SCRIPT_URL | "/cart/add/10844" |
| 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" |