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" => "15639" ] |
| _stopwatch_token | "3b9de0" |
| id | "15639" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "PHPSESSID=t86r250880bvfcnkepmoke5m8i" |
| 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 14:46:28 GMT" |
| location | "/cart" |
| x-debug-token | "380d3b" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "t86r250880bvfcnkepmoke5m8i" |
Response Cookies
No response cookies
Session 2
Session Metadata
| Key | Value |
|---|---|
| Created | "Sat, 29 Aug 26 14:46:00 +0000" |
| Last used | "Sat, 29 Aug 26 14:46:28 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| cart | [ 176 => 1 3986 => 1 5752 => 1 3603 => 1 9736 => 1 4253 => 1 24656 => 1 24697 => 1 10985 => 1 4293 => 1 9528 => 1 1607 => 1 25834 => 1 7609 => 1 6780 => 1 4847 => 1 8145 => 1 4200 => 1 20945 => 1 4206 => 1 2296 => 1 4967 => 1 28049 => 1 7729 => 1 5852 => 1 4946 => 1 4849 => 1 9570 => 1 4729 => 1 5886 => 1 9037 => 1 7138 => 1 8159 => 1 8696 => 1 2334 => 1 15099 => 1 4364 => 1 22972 => 1 2346 => 1 5850 => 1 25337 => 1 5787 => 1 1828 => 1 8182 => 1 8623 => 1 11298 => 1 9038 => 1 25628 => 1 1847 => 1 4238 => 1 24587 => 1 9026 => 1 4204 => 1 2529 => 1 9464 => 1 8185 => 1 17422 => 1 3997 => 1 10951 => 1 25192 => 1 23359 => 1 9522 => 1 8498 => 1 5774 => 1 14033 => 1 2354 => 1 20538 => 1 1011 => 1 10359 => 1 2470 => 1 21699 => 1 9901 => 1 23715 => 1 7788 => 1 24847 => 1 8156 => 1 3824 => 1 11278 => 1 14079 => 1 24658 => 1 14191 => 1 5805 => 1 17449 => 1 2543 => 1 5792 => 1 11389 => 1 5713 => 1 14030 => 1 5715 => 1 11316 => 1 16032 => 1 5006 => 1 22445 => 1 10935 => 1 2309 => 1 25256 => 1 14038 => 1 8857 => 1 19737 => 1 14141 => 1 10443 => 1 22435 => 1 2259 => 1 23082 => 1 23146 => 1 28389 => 1 25245 => 1 28391 => 1 21162 => 1 15860 => 1 13976 => 1 4211 => 1 9917 => 1 13412 => 1 1579 => 1 13908 => 1 21593 => 1 13969 => 1 1574 => 1 21496 => 1 24500 => 1 10421 => 1 18215 => 1 13117 => 1 21618 => 1 26043 => 1 9094 => 1 15341 => 1 27479 => 1 24662 => 1 25325 => 1 11361 => 1 24818 => 1 15141 => 1 17091 => 1 26582 => 1 3809 => 1 15639 => 1 ] |
| wishlist | [ 176 3986 5752 3603 9736 4253 24656 24697 10985 4293 9528 1607 25834 7609 6780 4847 8145 4967 20945 4200 4206 2296 7729 28049 4946 5852 4849 9570 9037 4729 5886 7138 8159 8696 2334 15099 4364 2346 22972 5850 25337 8182 1828 5787 8623 11298 9038 25628 1847 4238 24587 9026 4204 2529 9464 8185 3997 25192 17422 8498 10951 9522 23359 5774 14033 2354 20538 1011 2470 10359 9901 21699 23715 7788 8156 3824 24847 11278 14079 14191 5805 24658 17449 2543 5792 11389 5713 14030 5715 11316 16032 22445 5006 10935 2309 25256 14038 8857 19737 14141 10443 22435 2259 23082 23146 28389 28391 25245 21162 15860 13976 4211 9917 13412 1579 13908 21593 13969 1574 21496 24500 10421 18215 ] |
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=t86r250880bvfcnkepmoke5m8i" |
| 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/15639" |
| REDIRECT_SCRIPT_URL | "/cart/add/15639" |
| REDIRECT_SSL_TLS_SNI | "shop.devlaboratory.es" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/cart/add/15639" |
| REMOTE_ADDR | "216.73.217.38" |
| REMOTE_PORT | "1798" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1788014788 |
| REQUEST_TIME_FLOAT | 1788014788.7229 |
| REQUEST_URI | "/cart/add/15639" |
| SCRIPT_FILENAME | "/var/www/html/shop/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SCRIPT_URI | "https://shop.devlaboratory.es/cart/add/15639" |
| SCRIPT_URL | "/cart/add/15639" |
| 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" |