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" => "24706" ] |
| _stopwatch_token | "22bcf0" |
| id | "24706" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "PHPSESSID=cb8slrpo7vkvtin036m621u80m" |
| 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 07:57:59 GMT" |
| location | "/cart" |
| x-debug-token | "19ae42" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "cb8slrpo7vkvtin036m621u80m" |
Response Cookies
No response cookies
Session 2
Session Metadata
| Key | Value |
|---|---|
| Created | "Mon, 31 Aug 26 07:57:10 +0000" |
| Last used | "Mon, 31 Aug 26 07:57:58 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| cart | [ 1938 => 1 24709 => 1 19623 => 1 13775 => 1 21877 => 1 1624 => 1 2023 => 1 14490 => 1 25855 => 1 1304 => 1 11328 => 1 1338 => 1 21402 => 1 4107 => 1 14952 => 1 24459 => 1 15417 => 1 17692 => 1 16281 => 1 18581 => 1 28908 => 1 12285 => 1 26486 => 1 24022 => 1 11999 => 1 10168 => 1 6185 => 1 25324 => 1 1805 => 1 10873 => 1 18112 => 1 5619 => 1 14957 => 1 7819 => 1 10070 => 1 26903 => 1 14838 => 1 20770 => 1 8333 => 1 19259 => 1 24607 => 1 2324 => 1 6647 => 1 18645 => 1 22745 => 1 16995 => 1 7226 => 1 10334 => 1 13115 => 1 26705 => 1 1856 => 1 22944 => 1 14526 => 1 10778 => 1 26955 => 1 23700 => 1 22874 => 1 18310 => 1 8351 => 1 20718 => 1 23356 => 1 25285 => 1 15955 => 1 16133 => 1 3042 => 1 18294 => 1 5188 => 1 21196 => 1 9842 => 1 28240 => 1 11039 => 1 26645 => 1 15023 => 1 28517 => 1 3990 => 1 17110 => 1 5716 => 1 15510 => 1 5613 => 1 3426 => 1 24737 => 1 1810 => 1 17013 => 1 28531 => 1 4054 => 1 19217 => 1 10100 => 1 3204 => 1 25253 => 1 28133 => 1 5556 => 1 10563 => 1 10685 => 1 23730 => 1 12709 => 1 7931 => 1 22387 => 1 5222 => 1 17842 => 1 19288 => 1 14149 => 1 20929 => 1 22762 => 1 26516 => 1 28335 => 1 17253 => 1 25966 => 1 26833 => 1 13296 => 1 25926 => 1 9157 => 1 28200 => 1 13574 => 1 21796 => 1 2543 => 1 17889 => 1 8108 => 1 29158 => 1 2922 => 1 27995 => 1 1837 => 1 23899 => 1 25219 => 1 2557 => 1 2566 => 1 6210 => 1 7088 => 1 23085 => 1 23247 => 1 18968 => 1 14628 => 1 26919 => 1 23522 => 1 7042 => 1 12100 => 1 25708 => 1 19004 => 1 5842 => 1 2727 => 1 18315 => 1 8678 => 1 10419 => 1 5717 => 1 18358 => 1 3234 => 1 24429 => 1 1962 => 1 26910 => 1 23065 => 1 6755 => 1 25914 => 1 20727 => 1 29223 => 1 25942 => 1 1054 => 1 5114 => 1 27962 => 1 6168 => 1 23291 => 1 23528 => 1 16378 => 1 16174 => 1 7373 => 1 25982 => 1 18252 => 1 24780 => 1 20677 => 1 2062 => 1 4234 => 1 19571 => 1 20588 => 1 14256 => 1 21646 => 1 8251 => 1 6645 => 1 10944 => 1 23668 => 1 10326 => 1 14307 => 1 27100 => 1 23407 => 1 19728 => 1 9659 => 1 12148 => 1 5861 => 1 22267 => 1 24290 => 1 23248 => 1 27976 => 1 5731 => 1 20562 => 1 26829 => 1 22573 => 1 10025 => 1 15718 => 1 10571 => 1 11062 => 1 23079 => 1 10376 => 1 5410 => 1 20837 => 1 1984 => 1 26825 => 1 9929 => 1 15959 => 1 5171 => 1 11679 => 1 26846 => 1 24170 => 1 12987 => 1 13561 => 1 21770 => 1 8860 => 1 15635 => 1 25798 => 1 11929 => 1 24434 => 1 3611 => 1 23532 => 1 11992 => 1 6165 => 1 19346 => 1 28116 => 1 22822 => 1 2892 => 1 10120 => 1 15760 => 1 5715 => 1 19561 => 1 26710 => 1 15026 => 1 19732 => 1 13097 => 1 20542 => 1 9272 => 1 21265 => 1 22389 => 1 22476 => 1 5961 => 1 27906 => 1 19472 => 1 26477 => 1 15540 => 1 18608 => 1 23835 => 1 9579 => 1 23778 => 1 23547 => 1 14153 => 1 25141 => 1 18801 => 1 25857 => 1 14602 => 1 28197 => 1 23033 => 1 2674 => 1 15853 => 1 24571 => 1 5107 => 1 24757 => 1 25677 => 1 22966 => 1 17290 => 1 25290 => 1 10882 => 1 1814 => 1 19291 => 1 13668 => 1 5762 => 1 9982 => 1 11529 => 1 25252 => 1 5194 => 1 12677 => 1 24872 => 1 3008 => 1 13478 => 1 26957 => 1 14997 => 1 25615 => 1 18865 => 1 24610 => 1 19283 => 1 13716 => 1 17231 => 1 27618 => 1 24304 => 1 11996 => 1 24706 => 1 ] |
| wishlist | [ 3876 4081 23786 9785 24904 636 5012 9048 9787 8115 4093 12428 13486 10352 8103 12397 23784 13484 2087 1201 3539 7655 1245 2870 1808 4382 1869 1952 2847 1241 9836 28339 10344 2069 12434 1632 3055 1867 8405 1799 3477 1406 1701 8766 1395 1040 967 2565 2958 17686 8400 3707 518 7560 19611 1895 1233 2219 1244 23640 8056 1733 3346 1648 1708 3853 8402 2569 5313 ] |
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=cb8slrpo7vkvtin036m621u80m" |
| 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/24706" |
| REDIRECT_SCRIPT_URL | "/cart/add/24706" |
| REDIRECT_SSL_TLS_SNI | "mipeluco.devlaboratory.es" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/cart/add/24706" |
| REMOTE_ADDR | "216.73.217.38" |
| REMOTE_PORT | "38053" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1788163078 |
| REQUEST_TIME_FLOAT | 1788163078.1132 |
| REQUEST_URI | "/cart/add/24706" |
| SCRIPT_FILENAME | "/var/www/html/shop/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SCRIPT_URI | "https://mipeluco.devlaboratory.es/cart/add/24706" |
| SCRIPT_URL | "/cart/add/24706" |
| 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" |