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" => "26795" ] |
| _stopwatch_token | "232a43" |
| id | "26795" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "PHPSESSID=861cjv0h25j9jgknout6fgtnln" |
| host | "mipeluco.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 08:51:26 GMT" |
| location | "/cart" |
| x-debug-token | "824e02" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "861cjv0h25j9jgknout6fgtnln" |
Response Cookies
No response cookies
Session 2
Session Metadata
| Key | Value |
|---|---|
| Created | "Mon, 31 Aug 26 08:49:47 +0000" |
| Last used | "Mon, 31 Aug 26 08:51:26 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| cart | [ 8252 => 1 1841 => 1 26480 => 1 15073 => 1 4625 => 1 3632 => 1 5585 => 1 19686 => 1 15085 => 1 28841 => 1 4610 => 1 5565 => 1 1844 => 1 6231 => 1 11233 => 1 17825 => 1 2041 => 1 5989 => 1 16142 => 1 15741 => 1 20403 => 1 24936 => 1 18565 => 1 5706 => 1 9054 => 1 7703 => 1 5541 => 1 1340 => 1 5765 => 1 22153 => 1 5707 => 1 11486 => 1 14567 => 1 23734 => 1 11501 => 1 22684 => 1 23640 => 1 2278 => 1 8056 => 1 6302 => 1 10340 => 1 19092 => 1 15522 => 1 8731 => 1 7608 => 1 18591 => 1 1265 => 1 2533 => 1 3853 => 1 26540 => 1 2569 => 1 24142 => 1 5313 => 1 17044 => 1 23261 => 1 3455 => 1 11086 => 1 24337 => 1 9685 => 1 1377 => 1 2856 => 1 5310 => 1 2232 => 1 21064 => 1 14271 => 1 6424 => 1 23375 => 1 3475 => 1 10673 => 1 6092 => 1 18337 => 1 20443 => 1 6029 => 1 29145 => 1 17445 => 1 8221 => 1 29314 => 1 5850 => 1 26533 => 1 7382 => 1 18451 => 1 6414 => 1 2064 => 1 1698 => 1 5884 => 1 2843 => 1 14229 => 1 2052 => 1 18092 => 1 10754 => 1 4823 => 1 29015 => 1 6925 => 1 22008 => 1 13657 => 1 28796 => 1 20871 => 1 25947 => 1 16163 => 1 18604 => 1 25841 => 1 5849 => 1 1173 => 1 6236 => 1 2022 => 1 22339 => 1 8057 => 1 2074 => 1 16010 => 1 25682 => 1 16591 => 1 10499 => 1 4970 => 1 25904 => 1 9823 => 1 2580 => 1 9816 => 1 1332 => 1 23319 => 1 15901 => 1 25946 => 1 22609 => 1 8246 => 1 24461 => 1 20546 => 1 26965 => 1 29166 => 1 1828 => 1 23635 => 1 17682 => 1 27802 => 1 5649 => 1 11074 => 1 28327 => 1 9039 => 1 2212 => 1 15375 => 1 3185 => 1 5494 => 1 9971 => 1 5807 => 1 2820 => 1 19752 => 1 1629 => 1 2224 => 1 19031 => 1 2939 => 1 7668 => 1 3070 => 1 11488 => 1 23736 => 1 26701 => 1 3848 => 1 17883 => 1 6430 => 1 12913 => 1 1375 => 1 23152 => 1 8808 => 1 9527 => 1 11077 => 1 7227 => 1 8623 => 1 25840 => 1 16979 => 1 7578 => 1 4734 => 1 1348 => 1 1483 => 1 2384 => 1 7915 => 1 15596 => 1 22181 => 1 2032 => 1 21897 => 1 1832 => 1 7846 => 1 12147 => 1 9609 => 1 20722 => 1 17484 => 1 6170 => 1 14534 => 1 8332 => 1 17035 => 1 8677 => 1 20296 => 1 18286 => 1 9839 => 1 25243 => 1 8755 => 1 1630 => 1 21010 => 1 25622 => 1 9517 => 1 2910 => 1 18397 => 1 8176 => 1 19655 => 1 2866 => 1 3457 => 1 17092 => 1 6229 => 1 24919 => 1 10002 => 1 15329 => 1 17817 => 1 2528 => 1 24698 => 1 12436 => 1 24262 => 1 5855 => 1 28995 => 1 12424 => 1 10428 => 1 20063 => 1 6336 => 1 6442 => 1 6648 => 1 1249 => 1 4720 => 1 3557 => 1 13344 => 1 16192 => 1 2747 => 1 26552 => 1 14477 => 1 4268 => 1 9647 => 1 28706 => 1 2750 => 1 2550 => 1 8611 => 1 20933 => 1 14993 => 1 3726 => 1 27952 => 1 25490 => 1 3619 => 1 25124 => 1 10167 => 1 1470 => 1 7453 => 1 5923 => 1 15967 => 1 2434 => 1 15975 => 1 1750 => 1 5349 => 1 13503 => 1 9368 => 1 14959 => 1 15735 => 1 28338 => 1 18264 => 1 15050 => 1 9626 => 1 8289 => 1 21683 => 1 5254 => 1 8211 => 1 3623 => 1 26947 => 1 1659 => 1 6276 => 1 1616 => 1 6176 => 1 5214 => 1 23013 => 1 20489 => 1 21808 => 1 28561 => 1 8442 => 1 9511 => 1 3292 => 1 17892 => 1 22948 => 1 8895 => 1 23002 => 1 27892 => 1 22291 => 1 25795 => 1 26949 => 1 12669 => 1 19299 => 1 14360 => 1 28340 => 1 11340 => 1 1836 => 1 15732 => 1 25815 => 1 29004 => 1 4726 => 1 9989 => 1 988 => 1 9522 => 1 7180 => 1 3896 => 1 14523 => 1 2359 => 1 1358 => 1 24489 => 1 1234 => 1 24352 => 1 28455 => 1 26530 => 1 18529 => 1 1730 => 1 21093 => 1 28202 => 1 10104 => 1 25323 => 1 23211 => 1 5905 => 1 5878 => 1 24463 => 1 24040 => 1 6128 => 1 15904 => 1 9617 => 1 10330 => 1 9773 => 1 22663 => 1 6111 => 1 24988 => 1 21192 => 1 10096 => 1 12237 => 1 17050 => 1 6981 => 1 21682 => 1 1268 => 1 13709 => 1 24732 => 1 25779 => 1 1818 => 1 25702 => 1 14938 => 1 5813 => 1 25960 => 1 1905 => 1 24533 => 1 21670 => 1 24699 => 1 24914 => 1 14099 => 1 25959 => 1 9854 => 1 5978 => 1 13667 => 1 9437 => 1 12914 => 1 18318 => 1 29446 => 1 3860 => 1 16889 => 1 22336 => 1 24043 => 1 10068 => 1 5810 => 1 15950 => 1 16016 => 1 26568 => 1 10198 => 1 22707 => 1 11477 => 1 10055 => 1 28146 => 1 28209 => 1 7024 => 1 24767 => 1 25820 => 1 3870 => 1 26534 => 1 8343 => 1 15728 => 1 3816 => 1 28175 => 1 23294 => 1 4008 => 1 15722 => 1 27006 => 1 25898 => 1 5654 => 1 24447 => 1 7816 => 1 5943 => 1 4915 => 1 10433 => 1 26014 => 1 27475 => 1 1318 => 1 3439 => 1 23016 => 1 8759 => 1 5736 => 1 1031 => 1 26873 => 1 9336 => 1 5956 => 1 8247 => 1 17673 => 1 6150 => 1 26720 => 1 3432 => 1 13149 => 1 5730 => 1 10971 => 1 14868 => 1 17463 => 1 27489 => 1 22045 => 1 16002 => 1 22753 => 1 8606 => 1 21059 => 1 28244 => 1 22388 => 1 20879 => 1 22265 => 1 28989 => 1 23449 => 1 14645 => 1 11223 => 1 14519 => 1 5820 => 1 11070 => 1 15323 => 1 5540 => 1 20928 => 1 5351 => 1 21777 => 1 23310 => 1 10936 => 1 7268 => 1 24951 => 1 28520 => 1 21864 => 1 28465 => 1 7884 => 1 26950 => 1 28336 => 1 4708 => 1 13679 => 1 13573 => 1 5639 => 1 13359 => 1 13987 => 1 12299 => 1 13205 => 1 28901 => 1 14010 => 1 13312 => 1 20833 => 1 4303 => 1 15005 => 1 3178 => 1 14593 => 1 13233 => 1 1175 => 1 21271 => 1 23288 => 1 13112 => 1 16997 => 1 22937 => 1 9648 => 1 6481 => 1 15090 => 1 27893 => 1 28018 => 1 19015 => 1 29374 => 1 1446 => 1 26795 => 1 ] |
| wishlist | [ 444 2297 2190 4640 20232 4579 5348 3175 1702 2897 3233 4083 3563 1902 4658 3155 3334 8749 8767 4409 9784 7929 3350 3089 3368 5192 22243 1271 3247 8750 9788 8982 6482 3248 3358 ] |
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=861cjv0h25j9jgknout6fgtnln" |
| HTTP_HOST | "mipeluco.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://mipeluco.devlaboratory.es/cart/add/26795" |
| REDIRECT_SCRIPT_URL | "/cart/add/26795" |
| REDIRECT_SSL_TLS_SNI | "mipeluco.devlaboratory.es" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/cart/add/26795" |
| REMOTE_ADDR | "216.73.217.38" |
| REMOTE_PORT | "34705" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1788166286 |
| REQUEST_TIME_FLOAT | 1788166286.1281 |
| REQUEST_URI | "/cart/add/26795" |
| SCRIPT_FILENAME | "/var/www/html/shop/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SCRIPT_URI | "https://mipeluco.devlaboratory.es/cart/add/26795" |
| SCRIPT_URL | "/cart/add/26795" |
| SERVER_ADDR | "148.113.201.140" |
| SERVER_ADMIN | "[no address given]" |
| SERVER_NAME | "mipeluco.devlaboratory.es" |
| SERVER_PORT | "443" |
| SERVER_PROTOCOL | "HTTP/1.1" |
| SERVER_SIGNATURE | "<address>Apache/2.4.62 (Ubuntu) Server at mipeluco.devlaboratory.es Port 443</address>\n" |
| SERVER_SOFTWARE | "Apache/2.4.62 (Ubuntu)" |
| SSL_TLS_SNI | "mipeluco.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" |