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" => "13313" ] |
| _stopwatch_token | "90500d" |
| id | "13313" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "PHPSESSID=rb82oi7o86psdtojoktbosu872" |
| 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 06:57:40 GMT" |
| location | "/cart" |
| x-debug-token | "ac5bc6" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "rb82oi7o86psdtojoktbosu872" |
Response Cookies
No response cookies
Session 2
Session Metadata
| Key | Value |
|---|---|
| Created | "Mon, 31 Aug 26 06:57:17 +0000" |
| Last used | "Mon, 31 Aug 26 06:57:40 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| cart | [ 3811 => 1 4213 => 1 5298 => 1 22832 => 1 20882 => 1 3842 => 1 20723 => 1 7390 => 1 28169 => 1 25757 => 1 20455 => 1 1388 => 1 11801 => 1 8598 => 1 16137 => 1 13532 => 1 28430 => 1 17672 => 1 11503 => 1 20630 => 1 18879 => 1 22369 => 1 1412 => 1 21170 => 1 26433 => 1 16476 => 1 25435 => 1 19100 => 1 2632 => 1 6135 => 1 19707 => 1 29116 => 1 22565 => 1 23459 => 1 6990 => 1 21269 => 1 10427 => 1 25446 => 1 18852 => 1 13091 => 1 14574 => 1 20637 => 1 17758 => 1 16032 => 1 19246 => 1 7621 => 1 14708 => 1 25706 => 1 13535 => 1 22875 => 1 17706 => 1 23874 => 1 2784 => 1 24174 => 1 11780 => 1 13018 => 1 25362 => 1 24668 => 1 11696 => 1 6193 => 1 5006 => 1 20707 => 1 12233 => 1 26792 => 1 16140 => 1 19689 => 1 20714 => 1 1757 => 1 19018 => 1 11966 => 1 24626 => 1 17417 => 1 22188 => 1 6119 => 1 27018 => 1 18202 => 1 22303 => 1 9453 => 1 23549 => 1 1961 => 1 26514 => 1 22579 => 1 10898 => 1 15720 => 1 23169 => 1 24175 => 1 23550 => 1 25472 => 1 12346 => 1 17613 => 1 28470 => 1 28953 => 1 14236 => 1 23394 => 1 24519 => 1 2309 => 1 18176 => 1 4323 => 1 17308 => 1 27610 => 1 18499 => 1 2042 => 1 22483 => 1 3273 => 1 17762 => 1 22569 => 1 25882 => 1 12291 => 1 2061 => 1 1431 => 1 23442 => 1 22485 => 1 29516 => 1 18064 => 1 13323 => 1 18637 => 1 25478 => 1 22465 => 1 22737 => 1 24615 => 1 23200 => 1 26396 => 1 3865 => 1 9204 => 1 10115 => 1 15724 => 1 7361 => 1 19694 => 1 15850 => 1 25422 => 1 16726 => 1 23241 => 1 18735 => 1 21636 => 1 11708 => 1 14383 => 1 24731 => 1 5415 => 1 2608 => 1 10011 => 1 21649 => 1 9117 => 1 21544 => 1 13783 => 1 25611 => 1 18753 => 1 21489 => 1 6287 => 1 24494 => 1 29560 => 1 18332 => 1 22990 => 1 25336 => 1 13468 => 1 28749 => 1 19737 => 1 21839 => 1 27773 => 1 6126 => 1 10517 => 1 11401 => 1 21352 => 1 24852 => 1 21156 => 1 19028 => 1 24538 => 1 24416 => 1 23530 => 1 12707 => 1 11100 => 1 22479 => 1 9109 => 1 10131 => 1 18090 => 1 11098 => 1 22302 => 1 9193 => 1 13313 => 1 ] |
| wishlist | [ 22008 2580 23635 9823 1476 23319 2212 12142 2224 17682 2053 2032 2384 8460 16591 1046 4654 1029 1875 1483 5324 2824 2910 9839 5320 3457 1392 1696 2866 1722 12147 1076 3837 5326 1222 5433 23249 2092 1634 2812 1509 5325 1398 1037 1408 2082 1487 4478 1892 5327 4350 4369 18487 1228 1034 3222 27615 1485 9820 ] |
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=rb82oi7o86psdtojoktbosu872" |
| 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/13313" |
| REDIRECT_SCRIPT_URL | "/cart/add/13313" |
| REDIRECT_SSL_TLS_SNI | "mipeluco.devlaboratory.es" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/cart/add/13313" |
| REMOTE_ADDR | "216.73.217.38" |
| REMOTE_PORT | "58278" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1788159459 |
| REQUEST_TIME_FLOAT | 1788159459.5579 |
| REQUEST_URI | "/cart/add/13313" |
| SCRIPT_FILENAME | "/var/www/html/shop/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SCRIPT_URI | "https://mipeluco.devlaboratory.es/cart/add/13313" |
| SCRIPT_URL | "/cart/add/13313" |
| 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" |