CartController :: index
Request
GET Parameters
None
POST Parameters
None
Uploaded Files
None
Request Attributes
| Key | Value |
|---|---|
| _controller | "App\Controller\CartController::index" |
| _firewall_context | "security.firewall.map.context.user_login" |
| _locale | "en" |
| _redirected | true |
| _route | "cart" |
| _route_params | [ "_locale" => "en" ] |
| _security_firewall_run | "_security_user_login" |
| _stopwatch_token | "c3de44" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| connection | "close" |
| cookie | "sf_redirect=%7B%22token%22%3A%2275e8bb%22%2C%22route%22%3A%22change_currency%22%2C%22method%22%3A%22GET%22%2C%22controller%22%3A%7B%22class%22%3A%22App%5C%5CController%5C%5CCurrencyController%22%2C%22method%22%3A%22changeCurrency%22%2C%22file%22%3A%22%5C%2Fhome%5C%2Fbadnii-dev%5C%2Fhtdocs%5C%2Fdev.badnii.com%5C%2Fmain%5C%2Fsrc%5C%2FController%5C%2FCurrencyController.php%22%2C%22line%22%3A26%7D%2C%22status_code%22%3A302%2C%22status_text%22%3A%22Found%22%7D; PHPSESSID=trad7clelr61aodgitgj9uj48u" |
| host | "dev.badnii.com" |
| user-agent | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" |
| x-forwarded-for | "216.73.216.87" |
| x-forwarded-host | "dev.badnii.com" |
| x-php-ob-level | "1" |
| x-real-ip | "216.73.216.87" |
Request Content
Request content not available (it was retrieved as a resource).
Response
Response Headers
| Header | Value |
|---|---|
| cache-control | "private, must-revalidate" |
| content-type | "text/html; charset=UTF-8" |
| date | "Sat, 06 Dec 2025 03:16:03 GMT" |
| expires | "-1" |
| location | "/en/customer/login" |
| pragma | "no-cache" |
| x-debug-token | "fa99d2" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "trad7clelr61aodgitgj9uj48u" |
| sf_redirect | "{"token":"75e8bb","route":"change_currency","method":"GET","controller":{"class":"App\\Controller\\CurrencyController","method":"changeCurrency","file":"\/home\/badnii-dev\/htdocs\/dev.badnii.com\/main\/src\/Controller\/CurrencyController.php","line":26},"status_code":302,"status_text":"Found"}" |
Response Cookies
No response cookies
Session 2
Session Metadata
| Key | Value |
|---|---|
| Created | "Sat, 06 Dec 25 03:16:00 +0000" |
| Last used | "Sat, 06 Dec 25 03:16:02 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| defaultCurrency | "OMR" |
Session Usage
2
Usages
Stateless check enabled
| Usage |
|---|
Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage:41
[
[
"file" => "/home/badnii-dev/htdocs/dev.badnii.com/main/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php"
"line" => 41
"function" => "getMetadataBag"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/home/badnii-dev/htdocs/dev.badnii.com/main/vendor/symfony/framework-bundle/Controller/AbstractController.php"
"line" => 364
"function" => "getToken"
"class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage"
"type" => "->"
]
[
"file" => "/home/badnii-dev/htdocs/dev.badnii.com/main/src/Controller/CartController.php"
"line" => 62
"function" => "getUser"
"class" => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController"
"type" => "->"
]
[
"file" => "/home/badnii-dev/htdocs/dev.badnii.com/main/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 181
"function" => "index"
"class" => "App\Controller\CartController"
"type" => "->"
]
[
"file" => "/home/badnii-dev/htdocs/dev.badnii.com/main/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 76
"function" => "handleRaw"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/home/badnii-dev/htdocs/dev.badnii.com/main/vendor/symfony/http-kernel/Kernel.php"
"line" => 197
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/home/badnii-dev/htdocs/dev.badnii.com/main/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
"line" => 35
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\Kernel"
"type" => "->"
]
[
"file" => "/home/badnii-dev/htdocs/dev.badnii.com/main/vendor/autoload_runtime.php"
"line" => 29
"function" => "run"
"class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
"type" => "->"
]
[
"file" => "/home/badnii-dev/htdocs/dev.badnii.com/main/public/index.php"
"line" => 6
"args" => [
"/home/badnii-dev/htdocs/dev.badnii.com/main/vendor/autoload_runtime.php"
]
"function" => "require_once"
]
]
|
Symfony\Component\Security\Http\Firewall\ContextListener:171
[
[
"file" => "/home/badnii-dev/htdocs/dev.badnii.com/main/vendor/symfony/security-http/Firewall/ContextListener.php"
"line" => 171
"function" => "remove"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/home/badnii-dev/htdocs/dev.badnii.com/main/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
"line" => 116
"function" => "onKernelResponse"
"class" => "Symfony\Component\Security\Http\Firewall\ContextListener"
"type" => "->"
]
[
"file" => "/home/badnii-dev/htdocs/dev.badnii.com/main/vendor/symfony/event-dispatcher/EventDispatcher.php"
"line" => 220
"function" => "__invoke"
"class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
"type" => "->"
]
[
"file" => "/home/badnii-dev/htdocs/dev.badnii.com/main/vendor/symfony/event-dispatcher/EventDispatcher.php"
"line" => 56
"function" => "callListeners"
"class" => "Symfony\Component\EventDispatcher\EventDispatcher"
"type" => "->"
]
[
"file" => "/home/badnii-dev/htdocs/dev.badnii.com/main/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
"line" => 139
"function" => "dispatch"
"class" => "Symfony\Component\EventDispatcher\EventDispatcher"
"type" => "->"
]
[
"file" => "/home/badnii-dev/htdocs/dev.badnii.com/main/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 214
"function" => "dispatch"
"class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
"type" => "->"
]
[
"file" => "/home/badnii-dev/htdocs/dev.badnii.com/main/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 202
"function" => "filterResponse"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/home/badnii-dev/htdocs/dev.badnii.com/main/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 76
"function" => "handleRaw"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/home/badnii-dev/htdocs/dev.badnii.com/main/vendor/symfony/http-kernel/Kernel.php"
"line" => 197
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/home/badnii-dev/htdocs/dev.badnii.com/main/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
"line" => 35
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\Kernel"
"type" => "->"
]
[
"file" => "/home/badnii-dev/htdocs/dev.badnii.com/main/vendor/autoload_runtime.php"
"line" => 29
"function" => "run"
"class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
"type" => "->"
]
[
"file" => "/home/badnii-dev/htdocs/dev.badnii.com/main/public/index.php"
"line" => 6
"args" => [
"/home/badnii-dev/htdocs/dev.badnii.com/main/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 | "2fc925bb29a568c92f0a35c4c1392178" |
| DATABASE_URL | "mysql://dev-badnii-user:Gs9VqbJ0H22hivvfGCVO@127.0.0.1:3306/dev-badnii-db?serverVersion=8.0.32&charset=utf8mb4" |
| FACEBOOK_APP_ID | "657838057294218" |
| FACEBOOK_APP_SECRET | "4fa6a33deae70c129cf5093347a9a337" |
| GOOGLE_APP_ID | "440899100123-eeah5ccpv0120frpcp9s9uonhdd35u0s.apps.googleusercontent.com" |
| GOOGLE_APP_SECRET | "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" |
| MAILER_DSN | "smtp://7d4acb001@smtp-brevo.com:VGga9rAd7kSQvjF4@smtp-relay.brevo.com:587" |
| MESSENGER_TRANSPORT_DSN | "doctrine://default?auto_setup=0" |
Defined as regular env variables
| Key | Value |
|---|---|
| CONTENT_LENGTH | "" |
| CONTENT_TYPE | "" |
| DOCUMENT_ROOT | "/home/badnii-dev/htdocs/dev.badnii.com/main/public" |
| DOCUMENT_URI | "/index.php" |
| FCGI_ROLE | "RESPONDER" |
| GATEWAY_INTERFACE | "CGI/1.1" |
| GEOIP_CITY | "Oxnard" |
| GEOIP_CITY_CONTINENT_CODE | "NA" |
| GEOIP_CITY_COUNTRY_CODE | "US" |
| GEOIP_CITY_COUNTRY_CODE3 | "USA" |
| GEOIP_CITY_COUNTRY_NAME | "United States" |
| GEOIP_COUNTRY_CODE | "US" |
| GEOIP_COUNTRY_CODE3 | "USA" |
| GEOIP_COUNTRY_NAME | "United States" |
| GEOIP_LATITUDE | "34.1453" |
| GEOIP_LONGITUDE | "-119.1091" |
| GEOIP_POSTAL_CODE | "93033" |
| GEOIP_REGION | "CA" |
| HOME | "/home/badnii-dev" |
| HTTPS | "on" |
| HTTP_ACCEPT | "*/*" |
| HTTP_ACCEPT_ENCODING | "gzip, br, zstd, deflate" |
| HTTP_CONNECTION | "close" |
| HTTP_COOKIE | "sf_redirect=%7B%22token%22%3A%2275e8bb%22%2C%22route%22%3A%22change_currency%22%2C%22method%22%3A%22GET%22%2C%22controller%22%3A%7B%22class%22%3A%22App%5C%5CController%5C%5CCurrencyController%22%2C%22method%22%3A%22changeCurrency%22%2C%22file%22%3A%22%5C%2Fhome%5C%2Fbadnii-dev%5C%2Fhtdocs%5C%2Fdev.badnii.com%5C%2Fmain%5C%2Fsrc%5C%2FController%5C%2FCurrencyController.php%22%2C%22line%22%3A26%7D%2C%22status_code%22%3A302%2C%22status_text%22%3A%22Found%22%7D; PHPSESSID=trad7clelr61aodgitgj9uj48u" |
| HTTP_HOST | "dev.badnii.com" |
| HTTP_USER_AGENT | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" |
| HTTP_X_FORWARDED_FOR | "216.73.216.87" |
| HTTP_X_FORWARDED_HOST | "dev.badnii.com" |
| HTTP_X_REAL_IP | "216.73.216.87" |
| MGT | "1" |
| PHP_SELF | "/index.php" |
| PHP_VALUE | """ \n error_log=/home/badnii-dev/logs/php/error.log;\n memory_limit=512M;\n max_execution_time=60;\n max_input_time=60;\n max_input_vars=10000;\n post_max_size=64M;\n upload_max_filesize=64M;\n date.timezone=UTC;\n display_errors=on;\n error_reporting = E_ALL;\n display_startup_errors = 1; """ |
| QUERY_STRING | "" |
| REDIRECT_STATUS | "200" |
| REMOTE_ADDR | "216.73.216.87" |
| REMOTE_PORT | "" |
| REQUEST_METHOD | "GET" |
| REQUEST_TIME | 1764990963 |
| REQUEST_TIME_FLOAT | 1764990963.1583 |
| REQUEST_URI | "/en/cart" |
| SCRIPT_FILENAME | "/home/badnii-dev/htdocs/dev.badnii.com/main/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SERVER_ADDR | "127.0.0.1" |
| SERVER_NAME | "dev.badnii.com" |
| SERVER_PORT | "443" |
| SERVER_PROTOCOL | "HTTP/1.0" |
| SERVER_SOFTWARE | "nginx/1.21.4" |
| SYMFONY_DOTENV_VARS | "APP_ENV,APP_DEBUG,APP_SECRET,DATABASE_URL,MESSENGER_TRANSPORT_DSN,MAILER_DSN,FACEBOOK_APP_ID,FACEBOOK_APP_SECRET,GOOGLE_APP_ID,GOOGLE_APP_SECRET" |
| USER | "badnii-dev" |