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" => "7894" ] |
| _stopwatch_token | "f1bb0a" |
| id | "7894" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "PHPSESSID=sv9do2of600kanah9a0kfhq17o" |
| 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 13:33:45 GMT" |
| location | "/cart" |
| x-debug-token | "31c224" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "sv9do2of600kanah9a0kfhq17o" |
Response Cookies
No response cookies
Session 2
Session Metadata
| Key | Value |
|---|---|
| Created | "Sat, 29 Aug 26 13:33:20 +0000" |
| Last used | "Sat, 29 Aug 26 13:33:45 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| cart | [ 11017 => 1 15324 => 1 1631 => 1 25957 => 1 14211 => 1 11256 => 1 10907 => 1 5624 => 1 10771 => 1 2327 => 1 13110 => 1 8040 => 1 24464 => 1 11078 => 1 9442 => 1 9416 => 1 11520 => 1 20769 => 1 11247 => 1 12258 => 1 2317 => 1 5288 => 1 3826 => 1 10602 => 1 9861 => 1 4662 => 1 21078 => 1 1400 => 1 14860 => 1 1716 => 1 2331 => 1 11226 => 1 21848 => 1 1196 => 1 3812 => 1 8144 => 1 5204 => 1 7826 => 1 25639 => 1 17679 => 1 23592 => 1 14067 => 1 5557 => 1 10700 => 1 6710 => 1 21784 => 1 10219 => 1 1403 => 1 10798 => 1 7187 => 1 14043 => 1 21846 => 1 13700 => 1 21989 => 1 6227 => 1 22284 => 1 13199 => 1 11935 => 1 1033 => 1 5990 => 1 10039 => 1 11516 => 1 18685 => 1 10356 => 1 2911 => 1 13865 => 1 10609 => 1 1756 => 1 7888 => 1 5520 => 1 1307 => 1 5190 => 1 14635 => 1 21103 => 1 6697 => 1 8996 => 1 20798 => 1 5962 => 1 8188 => 1 1357 => 1 21571 => 1 20504 => 1 8651 => 1 16468 => 1 11980 => 1 12997 => 1 6217 => 1 5625 => 1 3859 => 1 2206 => 1 1777 => 1 11952 => 1 28309 => 1 6584 => 1 9375 => 1 12259 => 1 20832 => 1 9462 => 1 1168 => 1 10158 => 1 22208 => 1 15970 => 1 13796 => 1 12684 => 1 16372 => 1 9128 => 1 21024 => 1 5719 => 1 13181 => 1 13329 => 1 6561 => 1 5268 => 1 1705 => 1 6677 => 1 6254 => 1 20880 => 1 13872 => 1 947 => 1 23639 => 1 15974 => 1 19624 => 1 2513 => 1 5524 => 1 1278 => 1 13694 => 1 4242 => 1 13683 => 1 25638 => 1 6218 => 1 13844 => 1 2308 => 1 10669 => 1 13433 => 1 9466 => 1 1713 => 1 18528 => 1 17658 => 1 6343 => 1 9382 => 1 8117 => 1 10027 => 1 5954 => 1 18153 => 1 9860 => 1 1719 => 1 22769 => 1 2738 => 1 23638 => 1 7827 => 1 3118 => 1 19302 => 1 2066 => 1 11227 => 1 1710 => 1 7894 => 1 ] |
| wishlist | [ 7535 1014 1748 20992 3799 4701 1697 9477 7787 4484 4537 9657 7769 17836 5322 4636 8047 8728 8959 1035 12992 2867 8970 9461 6569 8137 3247 16481 8048 4084 9673 20190 12975 7220 5328 6844 4666 2828 9852 6447 8310 3598 9865 8092 3787 6492 9754 6841 9296 5307 8750 6903 6899 4741 9286 7432 23765 6722 6777 1689 9546 7735 4030 6372 3248 9788 7564 6937 24939 8192 8737 2809 3358 28355 20902 948 7170 8960 8768 7385 8480 1709 687 22792 7968 16397 25992 ] |
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=sv9do2of600kanah9a0kfhq17o" |
| 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/7894" |
| REDIRECT_SCRIPT_URL | "/cart/add/7894" |
| REDIRECT_SSL_TLS_SNI | "shop.devlaboratory.es" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/cart/add/7894" |
| REMOTE_ADDR | "216.73.217.38" |
| REMOTE_PORT | "16243" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1788010424 |
| REQUEST_TIME_FLOAT | 1788010424.9293 |
| REQUEST_URI | "/cart/add/7894" |
| SCRIPT_FILENAME | "/var/www/html/shop/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SCRIPT_URI | "https://shop.devlaboratory.es/cart/add/7894" |
| SCRIPT_URL | "/cart/add/7894" |
| 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" |