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" => "15645" ] |
| _stopwatch_token | "fad478" |
| id | "15645" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "PHPSESSID=rmr5m4f5fu63joegt2mvp1eskg" |
| 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 16:12:33 GMT" |
| location | "/cart" |
| x-debug-token | "4b7a1b" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "rmr5m4f5fu63joegt2mvp1eskg" |
Response Cookies
No response cookies
Session 2
Session Metadata
| Key | Value |
|---|---|
| Created | "Sat, 29 Aug 26 16:11:54 +0000" |
| Last used | "Sat, 29 Aug 26 16:12:33 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| cart | [ 1096 => 1 4442 => 1 1204 => 1 3319 => 1 8220 => 1 21741 => 1 10902 => 1 25822 => 1 17031 => 1 9446 => 1 11784 => 1 2498 => 1 1747 => 1 9907 => 1 21701 => 1 26547 => 1 16558 => 1 26567 => 1 2390 => 1 2792 => 1 9052 => 1 10375 => 1 2165 => 1 25396 => 1 22962 => 1 23072 => 1 23503 => 1 3677 => 1 5958 => 1 4778 => 1 26575 => 1 8214 => 1 11567 => 1 6253 => 1 26529 => 1 2795 => 1 17075 => 1 24704 => 1 9058 => 1 7164 => 1 8608 => 1 12879 => 1 14883 => 1 26527 => 1 15046 => 1 8424 => 1 2358 => 1 14829 => 1 5959 => 1 5859 => 1 4503 => 1 3511 => 1 12412 => 1 8158 => 1 4782 => 1 3269 => 1 5444 => 1 6244 => 1 24541 => 1 11301 => 1 26992 => 1 7890 => 1 21769 => 1 17019 => 1 25804 => 1 24672 => 1 5432 => 1 17345 => 1 25490 => 1 10404 => 1 22904 => 1 11068 => 1 17030 => 1 28054 => 1 6009 => 1 15975 => 1 26549 => 1 4815 => 1 23314 => 1 2211 => 1 9455 => 1 25523 => 1 23013 => 1 1659 => 1 11046 => 1 5475 => 1 8223 => 1 8425 => 1 3561 => 1 14754 => 1 17813 => 1 20237 => 1 2455 => 1 7867 => 1 5838 => 1 2915 => 1 15732 => 1 1058 => 1 6332 => 1 5905 => 1 2796 => 1 11036 => 1 24352 => 1 23766 => 1 10104 => 1 4300 => 1 3818 => 1 6388 => 1 3279 => 1 23679 => 1 1958 => 1 1660 => 1 16907 => 1 11786 => 1 19790 => 1 23772 => 1 22667 => 1 9353 => 1 7961 => 1 26568 => 1 23015 => 1 24258 => 1 6250 => 1 10347 => 1 6394 => 1 24558 => 1 7816 => 1 6411 => 1 14868 => 1 25830 => 1 12653 => 1 2243 => 1 10086 => 1 4717 => 1 10936 => 1 12839 => 1 23602 => 1 3912 => 1 21777 => 1 6387 => 1 23711 => 1 5639 => 1 24692 => 1 5920 => 1 27007 => 1 3617 => 1 1175 => 1 16997 => 1 26536 => 1 6335 => 1 10130 => 1 11945 => 1 17237 => 1 16665 => 1 18154 => 1 10370 => 1 15214 => 1 10137 => 1 11059 => 1 18161 => 1 6382 => 1 23768 => 1 25525 => 1 27161 => 1 17007 => 1 14064 => 1 2523 => 1 4230 => 1 5739 => 1 19334 => 1 7751 => 1 9688 => 1 24153 => 1 14047 => 1 18183 => 1 1238 => 1 10801 => 1 25327 => 1 9041 => 1 26538 => 1 5228 => 1 15645 => 1 ] |
| wishlist | [ 3605 2144 21458 168 3335 3175 5348 2907 3205 16166 4097 8632 3372 22201 6409 4083 5282 3443 23652 3563 9718 3259 4040 3256 28073 8262 7944 5280 2272 2873 7935 5019 3897 2906 3347 3348 2973 1671 20192 5345 18652 26751 9569 4384 8396 2198 2879 4575 26850 14733 933 935 2233 5404 3336 7334 16239 2177 19795 1504 14735 9845 6446 28022 23966 23799 1606 4787 ] |
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=rmr5m4f5fu63joegt2mvp1eskg" |
| 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/15645" |
| REDIRECT_SCRIPT_URL | "/cart/add/15645" |
| REDIRECT_SSL_TLS_SNI | "shop.devlaboratory.es" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/cart/add/15645" |
| REMOTE_ADDR | "216.73.217.38" |
| REMOTE_PORT | "27408" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1788019953 |
| REQUEST_TIME_FLOAT | 1788019953.2329 |
| REQUEST_URI | "/cart/add/15645" |
| SCRIPT_FILENAME | "/var/www/html/shop/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SCRIPT_URI | "https://shop.devlaboratory.es/cart/add/15645" |
| SCRIPT_URL | "/cart/add/15645" |
| 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" |