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" => "20642" ] |
| _stopwatch_token | "9ab6b8" |
| id | "20642" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "PHPSESSID=m8ai1d0rdfmfmes0786n70ff9g" |
| 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 | "Mon, 31 Aug 2026 06:19:11 GMT" |
| location | "/cart" |
| x-debug-token | "c9b3e1" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "m8ai1d0rdfmfmes0786n70ff9g" |
Response Cookies
No response cookies
Session 2
Session Metadata
| Key | Value |
|---|---|
| Created | "Mon, 31 Aug 26 06:18:29 +0000" |
| Last used | "Mon, 31 Aug 26 06:19:11 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| cart | [ 25514 => 1 26939 => 1 9227 => 1 10852 => 1 18385 => 1 25003 => 1 21677 => 1 27797 => 1 11341 => 1 23353 => 1 11027 => 1 1460 => 1 14475 => 1 9559 => 1 10962 => 1 1459 => 1 26716 => 1 22833 => 1 17306 => 1 20236 => 1 24030 => 1 23801 => 1 6406 => 1 18680 => 1 19358 => 1 9977 => 1 2524 => 1 26482 => 1 18317 => 1 11192 => 1 23381 => 1 24995 => 1 5279 => 1 10057 => 1 20514 => 1 20632 => 1 3862 => 1 25987 => 1 16933 => 1 28203 => 1 9953 => 1 10320 => 1 15024 => 1 15905 => 1 14573 => 1 11932 => 1 13677 => 1 1726 => 1 21855 => 1 24862 => 1 12362 => 1 7143 => 1 5531 => 1 17798 => 1 15315 => 1 11094 => 1 14294 => 1 8582 => 1 10972 => 1 27609 => 1 7837 => 1 18562 => 1 8805 => 1 6219 => 1 23899 => 1 10619 => 1 10105 => 1 28422 => 1 27995 => 1 5725 => 1 19141 => 1 26739 => 1 27798 => 1 23083 => 1 5777 => 1 5811 => 1 2258 => 1 18968 => 1 5794 => 1 22266 => 1 14628 => 1 10455 => 1 28333 => 1 22375 => 1 7661 => 1 8678 => 1 18170 => 1 5842 => 1 11372 => 1 13102 => 1 6351 => 1 9412 => 1 15515 => 1 23202 => 1 24429 => 1 26910 => 1 19631 => 1 19207 => 1 14037 => 1 9426 => 1 22880 => 1 1354 => 1 27765 => 1 16221 => 1 10178 => 1 23642 => 1 15835 => 1 1611 => 1 12137 => 1 8870 => 1 26512 => 1 5114 => 1 18045 => 1 21983 => 1 13571 => 1 18121 => 1 25607 => 1 4781 => 1 4709 => 1 21648 => 1 25627 => 1 14581 => 1 27672 => 1 8251 => 1 23407 => 1 14307 => 1 18044 => 1 15910 => 1 23039 => 1 15801 => 1 10706 => 1 16535 => 1 1642 => 1 19728 => 1 10822 => 1 27976 => 1 13895 => 1 22267 => 1 12236 => 1 1159 => 1 23181 => 1 17100 => 1 10381 => 1 5731 => 1 9169 => 1 16182 => 1 7118 => 1 26743 => 1 20837 => 1 25631 => 1 10424 => 1 4314 => 1 12987 => 1 19353 => 1 18588 => 1 15959 => 1 23174 => 1 5479 => 1 20322 => 1 13666 => 1 28900 => 1 26713 => 1 24349 => 1 9967 => 1 2266 => 1 16037 => 1 6685 => 1 25798 => 1 2527 => 1 13208 => 1 10828 => 1 8279 => 1 24283 => 1 23182 => 1 4260 => 1 22659 => 1 24639 => 1 3681 => 1 19338 => 1 10472 => 1 20388 => 1 18157 => 1 19346 => 1 24150 => 1 3996 => 1 24516 => 1 22287 => 1 20918 => 1 27592 => 1 15723 => 1 27733 => 1 25962 => 1 17429 => 1 25283 => 1 22957 => 1 10466 => 1 24719 => 1 7810 => 1 2851 => 1 26531 => 1 23631 => 1 23040 => 1 17385 => 1 19472 => 1 25911 => 1 9654 => 1 4862 => 1 14563 => 1 7125 => 1 20376 => 1 5379 => 1 15540 => 1 11288 => 1 7806 => 1 6453 => 1 26635 => 1 19803 => 1 12962 => 1 23033 => 1 25677 => 1 1138 => 1 24845 => 1 28228 => 1 15514 => 1 28406 => 1 25433 => 1 28051 => 1 5762 => 1 5661 => 1 25252 => 1 9982 => 1 22545 => 1 14048 => 1 20561 => 1 11996 => 1 27962 => 1 15880 => 1 6222 => 1 12562 => 1 12757 => 1 14434 => 1 12982 => 1 24381 => 1 22956 => 1 17231 => 1 10908 => 1 5712 => 1 26993 => 1 18247 => 1 14110 => 1 8171 => 1 8114 => 1 25004 => 1 4311 => 1 10014 => 1 25663 => 1 10979 => 1 26925 => 1 10062 => 1 13877 => 1 24613 => 1 12052 => 1 19748 => 1 2515 => 1 23388 => 1 16932 => 1 26673 => 1 22165 => 1 1088 => 1 19090 => 1 19679 => 1 8813 => 1 14797 => 1 22406 => 1 12102 => 1 14289 => 1 22393 => 1 11769 => 1 20642 => 1 ] |
| wishlist | [ 17809 7631 ] |
Session Usage
2
Usages
Stateless check enabled
| Usage |
|---|
App\Service\CartService:34
[
[
"file" => "/var/www/html/shop/src/Service/CartService.php"
"line" => 34
"function" => "get"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/var/www/html/shop/src/Controller/CartController.php"
"line" => 44
"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:42
[
[
"file" => "/var/www/html/shop/src/Service/CartService.php"
"line" => 42
"function" => "set"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/var/www/html/shop/src/Controller/CartController.php"
"line" => 44
"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_DEBUG | "1" |
| 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" |
| STRIPE_PUBLIC_KEY | "pk_test_51U9rIHFpB7qqLWWjhXhRjuVw0B6b2iOHaqzTSrZTBFCR1XrRNHVxjyhvXSPar3aB3BjxL75gio13vWFYg7kbnU9U00lyWEwZY0" |
| STRIPE_SECRET_KEY | "sk_test_51U9rIHFpB7qqLWWj5FtoN9lbrjiFAHJIUx1Z8oNfvfxeKlbordzbz4NEskmIEUzLCCLfGQW2baL40S7nna6yCwF800HxrhGZbb" |
Defined as regular env variables
| Key | Value |
|---|---|
| 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=m8ai1d0rdfmfmes0786n70ff9g" |
| 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/20642" |
| REDIRECT_SCRIPT_URL | "/cart/add/20642" |
| REDIRECT_SSL_TLS_SNI | "shop.devlaboratory.es" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/cart/add/20642" |
| REMOTE_ADDR | "216.73.217.38" |
| REMOTE_PORT | "42166" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1788157150 |
| REQUEST_TIME_FLOAT | 1788157150.8414 |
| REQUEST_URI | "/cart/add/20642" |
| SCRIPT_FILENAME | "/var/www/html/shop/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SCRIPT_URI | "https://shop.devlaboratory.es/cart/add/20642" |
| SCRIPT_URL | "/cart/add/20642" |
| 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,APP_DEBUG,DEFAULT_URI,DATABASE_URL,MAILER_DSN,STRIPE_PUBLIC_KEY,STRIPE_SECRET_KEY,GEMINI_API_KEY,GEMINI_MODEL" |