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" => "11138" ] |
| _stopwatch_token | "a7a7b1" |
| id | "11138" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "PHPSESSID=n9qsb10g643lo0hovtvr297dv9" |
| 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:49:59 GMT" |
| location | "/cart" |
| x-debug-token | "fb8c90" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "n9qsb10g643lo0hovtvr297dv9" |
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:49:59 +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 ] |
| 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 ] |
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" |
| 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/11138" |
| REDIRECT_SCRIPT_URL | "/cart/add/11138" |
| REDIRECT_SSL_TLS_SNI | "shop.devlaboratory.es" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/cart/add/11138" |
| REMOTE_ADDR | "216.73.217.108" |
| REMOTE_PORT | "38078" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1788007799 |
| REQUEST_TIME_FLOAT | 1788007799.475 |
| REQUEST_URI | "/cart/add/11138" |
| SCRIPT_FILENAME | "/var/www/html/shop/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SCRIPT_URI | "https://shop.devlaboratory.es/cart/add/11138" |
| SCRIPT_URL | "/cart/add/11138" |
| 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" |