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" |
| _redirected | true |
| _route | "app_cart_add" |
| _route_params | [ "id" => "21223" ] |
| _stopwatch_token | "165bef" |
| id | "21223" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "PHPSESSID=n9qsb10g643lo0hovtvr297dv9; sf_redirect=%7B%22token%22%3A%22de4998%22%2C%22route%22%3A%22app_wishlist_add%22%2C%22method%22%3A%22GET%22%2C%22controller%22%3A%7B%22class%22%3A%22App%5C%5CController%5C%5CWishlistController%22%2C%22method%22%3A%22add%22%2C%22file%22%3A%22%5C%2Fvar%5C%2Fwww%5C%2Fhtml%5C%2Fshop%5C%2Fsrc%5C%2FController%5C%2FWishlistController.php%22%2C%22line%22%3A15%7D%2C%22status_code%22%3A302%2C%22status_text%22%3A%22Found%22%7D" |
| 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 12:50:13 GMT" |
| location | "/cart" |
| x-debug-token | "336397" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "n9qsb10g643lo0hovtvr297dv9" |
| sf_redirect | "{"token":"de4998","route":"app_wishlist_add","method":"GET","controller":{"class":"App\\Controller\\WishlistController","method":"add","file":"\/var\/www\/html\/shop\/src\/Controller\/WishlistController.php","line":15},"status_code":302,"status_text":"Found"}" |
Response Cookies
No response cookies
Session 2
Session Metadata
| Key | Value |
|---|---|
| Created | "Sat, 29 Aug 26 12:49:23 +0000" |
| Last used | "Sat, 29 Aug 26 12:50:13 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| cart | [ 12094 => 1 12208 => 1 13254 => 1 23440 => 1 17733 => 1 13419 => 1 21350 => 1 10900 => 1 3507 => 1 20626 => 1 3851 => 1 10699 => 1 18469 => 1 13823 => 1 8021 => 1 21547 => 1 10576 => 1 15711 => 1 6668 => 1 12859 => 1 25176 => 1 19186 => 1 16470 => 1 12223 => 1 10838 => 1 12158 => 1 16168 => 1 12206 => 1 18392 => 1 6184 => 1 5275 => 1 18377 => 1 13357 => 1 11574 => 1 22584 => 1 11689 => 1 13585 => 1 23525 => 1 18494 => 1 12811 => 1 11912 => 1 23131 => 1 13576 => 1 13568 => 1 10452 => 1 15318 => 1 16502 => 1 28300 => 1 21330 => 1 6693 => 1 21711 => 1 13711 => 1 10903 => 1 17735 => 1 20606 => 1 20900 => 1 13501 => 1 9926 => 1 9270 => 1 21396 => 1 7421 => 1 10640 => 1 13605 => 1 10843 => 1 11835 => 1 15660 => 1 10188 => 1 11753 => 1 12119 => 1 21290 => 1 20988 => 1 21474 => 1 23165 => 1 12400 => 1 9925 => 1 21100 => 1 25436 => 1 14625 => 1 8590 => 1 11176 => 1 12842 => 1 7051 => 1 24104 => 1 18729 => 1 17381 => 1 10635 => 1 20942 => 1 21355 => 1 17780 => 1 20911 => 1 16369 => 1 21334 => 1 8861 => 1 13843 => 1 20854 => 1 10606 => 1 12442 => 1 9298 => 1 8168 => 1 6690 => 1 21337 => 1 10767 => 1 1599 => 1 13742 => 1 6278 => 1 24186 => 1 11388 => 1 21502 => 1 12146 => 1 11462 => 1 12130 => 1 9932 => 1 11332 => 1 13272 => 1 13082 => 1 15686 => 1 16351 => 1 12803 => 1 13654 => 1 10579 => 1 12220 => 1 21428 => 1 10633 => 1 21368 => 1 11703 => 1 11807 => 1 22555 => 1 13810 => 1 23566 => 1 22087 => 1 22025 => 1 11864 => 1 14245 => 1 17790 => 1 10746 => 1 13092 => 1 9242 => 1 15697 => 1 9931 => 1 23953 => 1 21305 => 1 12343 => 1 12333 => 1 14415 => 1 22857 => 1 14617 => 1 13098 => 1 2619 => 1 10824 => 1 26504 => 1 20778 => 1 22118 => 1 18406 => 1 6670 => 1 12254 => 1 12044 => 1 11138 => 1 21432 => 1 13466 => 1 12065 => 1 13049 => 1 25186 => 1 11394 => 1 8789 => 1 10502 => 1 25349 => 1 11140 => 1 9076 => 1 18531 => 1 2451 => 1 16084 => 1 13425 => 1 12174 => 1 11175 => 1 18419 => 1 12357 => 1 21390 => 1 14295 => 1 7521 => 1 17333 => 1 17885 => 1 8881 => 1 17386 => 1 26110 => 1 18168 => 1 19160 => 1 22622 => 1 12672 => 1 2063 => 1 11880 => 1 21615 => 1 21718 => 1 11442 => 1 11915 => 1 23527 => 1 17728 => 1 16117 => 1 9383 => 1 11716 => 1 19668 => 1 13824 => 1 9915 => 1 13781 => 1 21781 => 1 13238 => 1 11877 => 1 5297 => 1 21218 => 1 21223 => 1 ] |
| wishlist | [ 12978 9056 9346 5606 8101 16420 7305 3858 1903 21841 9624 10132 23951 4280 25918 3409 11682 4268 1300 7160 7414 7794 5916 6762 7411 10458 28353 2798 13650 17620 20779 9778 1618 5314 3117 7753 13345 13702 3850 11142 7515 12833 1439 6648 9825 6843 9374 6070 13685 22174 20516 21676 11883 13653 3623 8134 9626 8883 2468 7562 15693 7850 5590 21499 13795 1890 28346 5214 2316 12852 9202 20980 9781 9693 4705 1750 17657 10467 21887 12425 12249 2093 19797 19178 8840 1405 5333 1432 9862 28338 8267 28308 3896 9005 28340 13340 13892 11270 1623 7981 20523 8886 17372 5197 20518 12669 17551 17680 22182 1703 8417 6713 11034 20746 13178 2307 1796 7222 6714 1234 5195 2962 2323 1730 4272 7077 21101 18458 21144 10146 15948 15938 8146 21192 5287 6704 10508 10034 2049 18007 20801 9815 21002 16112 6515 13780 21036 11451 8061 12779 20844 7715 3860 5910 2534 6807 8642 5167 6172 1467 14099 13692 12043 1036 13951 1638 1195 10437 4279 13508 13709 5913 11698 12431 21084 8515 18404 8104 8676 2055 13896 2737 19285 11259 10041 9602 12804 2313 12463 21140 8853 7109 5523 3112 20539 5616 12152 11713 9018 9808 3870 23258 1893 1404 1793 25463 22167 10294 7852 20922 1678 2058 10231 8415 20299 23952 7518 11550 21015 15722 16286 2070 19149 11973 5919 2537 12864 10459 13149 1858 13253 22707 1236 12341 3114 8386 9209 2790 12877 3122 1031 2208 8186 2310 16115 7759 5823 12702 20975 6711 22176 5540 1790 19255 10036 16495 11534 9814 1023 6200 10149 2319 1700 4708 2536 21864 7020 9697 16083 10150 11673 10595 1764 18459 5169 11239 6245 9207 3839 21016 7884 6295 13327 3184 3004 10233 13573 10133 2458 9291 12832 18149 16658 2060 23563 6788 13258 23636 15319 21060 6020 9667 12988 23259 17264 16110 5165 10205 10230 8116 8350 12447 9615 11364 8266 4507 1498 10892 3844 1859 21271 11243 8847 ] |
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=n9qsb10g643lo0hovtvr297dv9; sf_redirect=%7B%22token%22%3A%22de4998%22%2C%22route%22%3A%22app_wishlist_add%22%2C%22method%22%3A%22GET%22%2C%22controller%22%3A%7B%22class%22%3A%22App%5C%5CController%5C%5CWishlistController%22%2C%22method%22%3A%22add%22%2C%22file%22%3A%22%5C%2Fvar%5C%2Fwww%5C%2Fhtml%5C%2Fshop%5C%2Fsrc%5C%2FController%5C%2FWishlistController.php%22%2C%22line%22%3A15%7D%2C%22status_code%22%3A302%2C%22status_text%22%3A%22Found%22%7D" |
| 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/21223" |
| REDIRECT_SCRIPT_URL | "/cart/add/21223" |
| REDIRECT_SSL_TLS_SNI | "shop.devlaboratory.es" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/cart/add/21223" |
| REMOTE_ADDR | "216.73.217.108" |
| REMOTE_PORT | "38846" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1788007813 |
| REQUEST_TIME_FLOAT | 1788007813.2589 |
| REQUEST_URI | "/cart/add/21223" |
| SCRIPT_FILENAME | "/var/www/html/shop/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SCRIPT_URI | "https://shop.devlaboratory.es/cart/add/21223" |
| SCRIPT_URL | "/cart/add/21223" |
| 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" |