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" => "8128" ] |
| _stopwatch_token | "db85bf" |
| id | "8128" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "PHPSESSID=7ajf9nj3tcqau8uj21ekp51kgh" |
| 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:18:34 GMT" |
| location | "/cart" |
| x-debug-token | "751657" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "7ajf9nj3tcqau8uj21ekp51kgh" |
Response Cookies
No response cookies
Session 2
Session Metadata
| Key | Value |
|---|---|
| Created | "Mon, 31 Aug 26 08:17:20 +0000" |
| Last used | "Mon, 31 Aug 26 08:18:34 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| cart | [ 2272 => 1 4385 => 1 24643 => 1 9409 => 1 12643 => 1 5286 => 1 4115 => 1 16992 => 1 1609 => 1 3673 => 1 7614 => 1 25909 => 1 23959 => 1 15902 => 1 2908 => 1 6501 => 1 8679 => 1 29635 => 1 24941 => 1 7007 => 1 4141 => 1 7644 => 1 28635 => 1 23707 => 1 4941 => 1 8516 => 1 2274 => 1 5679 => 1 3446 => 1 20193 => 1 23866 => 1 23014 => 1 22754 => 1 8401 => 1 7609 => 1 5897 => 1 3072 => 1 8702 => 1 17868 => 1 3396 => 1 7930 => 1 6468 => 1 3442 => 1 7472 => 1 964 => 1 5671 => 1 4205 => 1 6780 => 1 4252 => 1 23913 => 1 4130 => 1 2228 => 1 8465 => 1 977 => 1 7384 => 1 2969 => 1 22993 => 1 4430 => 1 3355 => 1 28329 => 1 8499 => 1 29344 => 1 23939 => 1 2235 => 1 7684 => 1 8534 => 1 7995 => 1 3065 => 1 8299 => 1 11490 => 1 3390 => 1 2107 => 1 19720 => 1 12401 => 1 2282 => 1 3041 => 1 21985 => 1 21486 => 1 7659 => 1 14732 => 1 22355 => 1 2874 => 1 9897 => 1 7574 => 1 791 => 1 22673 => 1 4783 => 1 7076 => 1 5015 => 1 7787 => 1 6885 => 1 1271 => 1 12975 => 1 22296 => 1 3403 => 1 4411 => 1 7100 => 1 14036 => 1 9547 => 1 6429 => 1 2828 => 1 14768 => 1 28993 => 1 28022 => 1 24964 => 1 9461 => 1 2118 => 1 12911 => 1 3308 => 1 6629 => 1 6863 => 1 5535 => 1 28754 => 1 4247 => 1 5503 => 1 13615 => 1 7660 => 1 15071 => 1 6300 => 1 24992 => 1 8092 => 1 6883 => 1 19014 => 1 22280 => 1 18752 => 1 2571 => 1 24977 => 1 6899 => 1 24939 => 1 22320 => 1 17812 => 1 5841 => 1 22305 => 1 28077 => 1 8255 => 1 9633 => 1 9983 => 1 2229 => 1 5891 => 1 28632 => 1 28053 => 1 7564 => 1 27992 => 1 14151 => 1 4455 => 1 7141 => 1 4787 => 1 7937 => 1 9022 => 1 14652 => 1 7733 => 1 25239 => 1 8098 => 1 4017 => 1 1097 => 1 23786 => 1 6732 => 1 715 => 1 11087 => 1 6449 => 1 5883 => 1 7722 => 1 28047 => 1 26565 => 1 2250 => 1 6869 => 1 7405 => 1 6747 => 1 5644 => 1 28048 => 1 2932 => 1 6936 => 1 6045 => 1 23735 => 1 6432 => 1 26435 => 1 4977 => 1 25973 => 1 23780 => 1 13705 => 1 28152 => 1 14730 => 1 3620 => 1 1601 => 1 17856 => 1 22372 => 1 12948 => 1 5901 => 1 13397 => 1 2837 => 1 6734 => 1 5880 => 1 1379 => 1 19337 => 1 29237 => 1 29043 => 1 14716 => 1 5274 => 1 1833 => 1 11286 => 1 28852 => 1 28547 => 1 943 => 1 9895 => 1 14529 => 1 10172 => 1 9818 => 1 9256 => 1 28822 => 1 1506 => 1 25337 => 1 28684 => 1 29639 => 1 19262 => 1 19009 => 1 28679 => 1 16657 => 1 28110 => 1 8244 => 1 28874 => 1 23019 => 1 28563 => 1 29475 => 1 21992 => 1 10967 => 1 25883 => 1 3287 => 1 1197 => 1 15965 => 1 25940 => 1 8283 => 1 12243 => 1 8317 => 1 7811 => 1 15095 => 1 22607 => 1 14549 => 1 5728 => 1 20899 => 1 10067 => 1 7469 => 1 29339 => 1 25686 => 1 19784 => 1 12419 => 1 26532 => 1 12786 => 1 9121 => 1 5634 => 1 3743 => 1 25375 => 1 14536 => 1 11082 => 1 26439 => 1 1704 => 1 24769 => 1 27558 => 1 25280 => 1 10075 => 1 5737 => 1 3616 => 1 7272 => 1 1636 => 1 23458 => 1 12841 => 1 15765 => 1 6339 => 1 16893 => 1 28290 => 1 2547 => 1 6374 => 1 13799 => 1 15022 => 1 17286 => 1 1829 => 1 11293 => 1 21701 => 1 24591 => 1 26547 => 1 24593 => 1 10422 => 1 22338 => 1 4687 => 1 10429 => 1 25874 => 1 13765 => 1 6731 => 1 17282 => 1 28141 => 1 24925 => 1 12925 => 1 2546 => 1 6248 => 1 26922 => 1 10164 => 1 10375 => 1 16558 => 1 8241 => 1 16971 => 1 24735 => 1 421 => 1 4713 => 1 20809 => 1 2529 => 1 18804 => 1 5938 => 1 7171 => 1 16490 => 1 4461 => 1 19474 => 1 926 => 1 1729 => 1 11907 => 1 9225 => 1 20892 => 1 5782 => 1 15744 => 1 23503 => 1 10329 => 1 26575 => 1 3893 => 1 14958 => 1 1934 => 1 12420 => 1 22758 => 1 13779 => 1 23341 => 1 5970 => 1 18079 => 1 10048 => 1 14875 => 1 16299 => 1 8277 => 1 3890 => 1 2795 => 1 26529 => 1 12978 => 1 9429 => 1 14883 => 1 12657 => 1 16952 => 1 11290 => 1 24045 => 1 15416 => 1 20702 => 1 22997 => 1 14829 => 1 1393 => 1 9706 => 1 27010 => 1 21801 => 1 26419 => 1 7725 => 1 28757 => 1 5859 => 1 9817 => 1 22932 => 1 2854 => 1 24764 => 1 5227 => 1 9338 => 1 14970 => 1 25832 => 1 7727 => 1 20583 => 1 6167 => 1 28560 => 1 2931 => 1 1186 => 1 16896 => 1 4108 => 1 9894 => 1 10702 => 1 21055 => 1 5918 => 1 22346 => 1 4456 => 1 21733 => 1 3511 => 1 8128 => 1 ] |
| wishlist | [ 9232 6743 6741 5237 12995 ] |
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=7ajf9nj3tcqau8uj21ekp51kgh" |
| 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/8128" |
| REDIRECT_SCRIPT_URL | "/cart/add/8128" |
| REDIRECT_SSL_TLS_SNI | "mipeluco.devlaboratory.es" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/cart/add/8128" |
| REMOTE_ADDR | "216.73.217.38" |
| REMOTE_PORT | "36399" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1788164311 |
| REQUEST_TIME_FLOAT | 1788164311.8727 |
| REQUEST_URI | "/cart/add/8128" |
| SCRIPT_FILENAME | "/var/www/html/shop/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SCRIPT_URI | "https://mipeluco.devlaboratory.es/cart/add/8128" |
| SCRIPT_URL | "/cart/add/8128" |
| 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" |