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" => "17129" ] |
| _stopwatch_token | "71d8fe" |
| id | "17129" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "PHPSESSID=t1kk7jeva656io2jeub7e7cp0f" |
| 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 07:56:55 GMT" |
| location | "/cart" |
| x-debug-token | "5064e8" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "t1kk7jeva656io2jeub7e7cp0f" |
Response Cookies
No response cookies
Session 2
Session Metadata
| Key | Value |
|---|---|
| Created | "Mon, 31 Aug 26 07:55:51 +0000" |
| Last used | "Mon, 31 Aug 26 07:56:55 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| cart | [ 7972 => 1 8964 => 1 6504 => 1 10883 => 1 6445 => 1 8019 => 1 2193 => 1 8286 => 1 4074 => 1 5545 => 1 3353 => 1 9409 => 1 8947 => 1 9352 => 1 4153 => 1 8528 => 1 28461 => 1 4629 => 1 15775 => 1 8762 => 1 7650 => 1 9876 => 1 8474 => 1 20146 => 1 4449 => 1 7161 => 1 5683 => 1 2109 => 1 7145 => 1 3352 => 1 28263 => 1 3219 => 1 29342 => 1 28072 => 1 2269 => 1 25752 => 1 9580 => 1 28044 => 1 12656 => 1 29329 => 1 4356 => 1 28699 => 1 4567 => 1 17152 => 1 8804 => 1 28099 => 1 7350 => 1 28484 => 1 1001 => 1 16625 => 1 2871 => 1 2114 => 1 2280 => 1 7583 => 1 2242 => 1 10092 => 1 25652 => 1 4776 => 1 4885 => 1 2840 => 1 3673 => 1 17849 => 1 2999 => 1 9872 => 1 6355 => 1 5178 => 1 8779 => 1 12136 => 1 7646 => 1 3225 => 1 2852 => 1 6572 => 1 837 => 1 3367 => 1 4879 => 1 2489 => 1 10102 => 1 23905 => 1 24364 => 1 8077 => 1 6286 => 1 28052 => 1 6174 => 1 7196 => 1 4887 => 1 9879 => 1 4358 => 1 15902 => 1 7644 => 1 4046 => 1 6330 => 1 8702 => 1 5671 => 1 11071 => 1 6565 => 1 28095 => 1 6129 => 1 3355 => 1 7684 => 1 6097 => 1 7740 => 1 4380 => 1 16183 => 1 9532 => 1 6475 => 1 6891 => 1 4655 => 1 8477 => 1 2874 => 1 3701 => 1 5250 => 1 4765 => 1 7076 => 1 1271 => 1 2541 => 1 8464 => 1 28754 => 1 13014 => 1 380 => 1 2853 => 1 5535 => 1 24922 => 1 9835 => 1 6883 => 1 5753 => 1 4864 => 1 9983 => 1 14871 => 1 4969 => 1 6124 => 1 6934 => 1 9064 => 1 4455 => 1 14151 => 1 25239 => 1 12469 => 1 8253 => 1 12482 => 1 4174 => 1 3683 => 1 5845 => 1 3360 => 1 28630 => 1 23740 => 1 7290 => 1 1097 => 1 2940 => 1 4877 => 1 6358 => 1 3735 => 1 17859 => 1 26469 => 1 28675 => 1 25871 => 1 3889 => 1 6484 => 1 4707 => 1 5644 => 1 28591 => 1 8938 => 1 26902 => 1 7405 => 1 7774 => 1 7936 => 1 9474 => 1 10342 => 1 2932 => 1 8495 => 1 28409 => 1 7706 => 1 18705 => 1 4867 => 1 6432 => 1 11097 => 1 8634 => 1 5865 => 1 15971 => 1 6264 => 1 7247 => 1 3274 => 1 14545 => 1 5995 => 1 5609 => 1 23409 => 1 28152 => 1 22101 => 1 8428 => 1 3620 => 1 13397 => 1 2948 => 1 4418 => 1 14941 => 1 12422 => 1 934 => 1 9622 => 1 7491 => 1 8306 => 1 5987 => 1 1005 => 1 7775 => 1 7434 => 1 7069 => 1 7582 => 1 3172 => 1 5645 => 1 28030 => 1 3686 => 1 11299 => 1 3320 => 1 28987 => 1 26953 => 1 9119 => 1 24955 => 1 28899 => 1 15085 => 1 25142 => 1 7615 => 1 10784 => 1 7734 => 1 7225 => 1 6064 => 1 22020 => 1 11280 => 1 29043 => 1 3718 => 1 5667 => 1 10322 => 1 20744 => 1 3464 => 1 12437 => 1 3609 => 1 7736 => 1 8712 => 1 7029 => 1 8078 => 1 8070 => 1 25529 => 1 5552 => 1 22602 => 1 11342 => 1 29099 => 1 13477 => 1 4614 => 1 21807 => 1 3517 => 1 9029 => 1 28003 => 1 9196 => 1 3832 => 1 5780 => 1 23019 => 1 16657 => 1 23010 => 1 1877 => 1 7962 => 1 22683 => 1 29231 => 1 21010 => 1 7738 => 1 26656 => 1 2330 => 1 23326 => 1 2294 => 1 13282 => 1 24923 => 1 7254 => 1 11352 => 1 5241 => 1 29563 => 1 21065 => 1 16211 => 1 29586 => 1 5546 => 1 18282 => 1 28401 => 1 15980 => 1 29644 => 1 23006 => 1 25955 => 1 28027 => 1 23458 => 1 7272 => 1 3525 => 1 20729 => 1 5208 => 1 26735 => 1 15922 => 1 12282 => 1 7351 => 1 4190 => 1 27601 => 1 4966 => 1 21801 => 1 2034 => 1 5227 => 1 23719 => 1 8284 => 1 25630 => 1 6517 => 1 26975 => 1 14009 => 1 27092 => 1 9617 => 1 22989 => 1 22097 => 1 24062 => 1 26913 => 1 1447 => 1 25006 => 1 28295 => 1 25319 => 1 18178 => 1 21058 => 1 16385 => 1 1316 => 1 29050 => 1 26873 => 1 29137 => 1 5659 => 1 11537 => 1 22480 => 1 9762 => 1 25404 => 1 27503 => 1 12874 => 1 17690 => 1 28538 => 1 9756 => 1 6158 => 1 12285 => 1 8272 => 1 11474 => 1 12149 => 1 7094 => 1 3820 => 1 17842 => 1 10060 => 1 10709 => 1 22765 => 1 3466 => 1 24422 => 1 28820 => 1 7581 => 1 26835 => 1 11666 => 1 25858 => 1 7122 => 1 9758 => 1 23290 => 1 14007 => 1 3817 => 1 22223 => 1 20772 => 1 28831 => 1 24504 => 1 21796 => 1 15865 => 1 12281 => 1 26960 => 1 3643 => 1 13101 => 1 2025 => 1 18103 => 1 25339 => 1 25626 => 1 25586 => 1 21273 => 1 29549 => 1 1725 => 1 29223 => 1 17129 => 1 ] |
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=t1kk7jeva656io2jeub7e7cp0f" |
| 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/17129" |
| REDIRECT_SCRIPT_URL | "/cart/add/17129" |
| REDIRECT_SSL_TLS_SNI | "shop.devlaboratory.es" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/cart/add/17129" |
| REMOTE_ADDR | "216.73.217.38" |
| REMOTE_PORT | "20435" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1788163014 |
| REQUEST_TIME_FLOAT | 1788163014.1876 |
| REQUEST_URI | "/cart/add/17129" |
| SCRIPT_FILENAME | "/var/www/html/shop/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SCRIPT_URI | "https://shop.devlaboratory.es/cart/add/17129" |
| SCRIPT_URL | "/cart/add/17129" |
| 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" |