LocaleController :: switch
Request
GET Parameters
None
POST Parameters
None
Uploaded Files
None
Request Attributes
| Key | Value |
|---|---|
| _access_control_attributes | null |
| _controller | "App\Controller\LocaleController::switch" |
| _firewall_context | "security.firewall.map.context.main" |
| _redirected | true |
| _route | "app_switch_locale" |
| _route_params | [ "locale" => "en" ] |
| _security_authenticators | [] |
| _security_skipped_authenticators | [ Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator {#620 -supports: false -passport: null -duration: null -stub: "Symfony\Component\Security\Http\Authenticator\FormLoginAuthenticator" -authenticated: null -exception: null -authenticator: Symfony\Component\Security\Http\Authenticator\FormLoginAuthenticator {#579 …} } ] |
| _stopwatch_token | "edc09b" |
| locale | "en" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| connection | "close" |
| cookie | "sf_redirect=%7B%22token%22%3A%2260bf6d%22%2C%22route%22%3A%22app_switch_locale%22%2C%22method%22%3A%22GET%22%2C%22controller%22%3A%7B%22class%22%3A%22App%5C%5CController%5C%5CLocaleController%22%2C%22method%22%3A%22switch%22%2C%22file%22%3A%22%5C%2Fvar%5C%2Fwww%5C%2Fhtml%5C%2Fsrc%5C%2FController%5C%2FLocaleController.php%22%2C%22line%22%3A13%7D%2C%22status_code%22%3A302%2C%22status_text%22%3A%22Found%22%7D; main_deauth_profile_token=e2703f; PHPSESSID=7ffef1a3b30164d03cedec29b8eab2c7" |
| host | "pcc.leszczynowa146.top" |
| user-agent | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" |
| x-forwarded-for | "216.73.216.209" |
| x-forwarded-proto | "https" |
| x-forwarded-scheme | "https" |
| x-php-ob-level | "0" |
| x-real-ip | "216.73.216.209" |
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, 14 Nov 2026 11:42:55 GMT" |
| location | "/" |
| x-debug-token | "a589d9" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "7ffef1a3b30164d03cedec29b8eab2c7" |
| main_deauth_profile_token | "e2703f" |
| sf_redirect | "{"token":"60bf6d","route":"app_switch_locale","method":"GET","controller":{"class":"App\\Controller\\LocaleController","method":"switch","file":"\/var\/www\/html\/src\/Controller\/LocaleController.php","line":13},"status_code":302,"status_text":"Found"}" |
Response Cookies
No response cookies
Session 2
Session Metadata
| Key | Value |
|---|---|
| Created | "Sat, 14 Nov 26 11:42:55 +0000" |
| Last used | "Sat, 14 Nov 26 11:42:55 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| _locale | "en" |
Session Usage
2
Usages
Stateless check enabled
| Usage |
|---|
App\EventSubscriber\LocaleSubscriber:35
[
[
"file" => "/var/www/html/src/EventSubscriber/LocaleSubscriber.php"
"line" => 35
"function" => "get"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/var/www/html/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
"line" => 115
"function" => "onKernelRequest"
"class" => "App\EventSubscriber\LocaleSubscriber"
"type" => "->"
]
[
"file" => "/var/www/html/vendor/symfony/event-dispatcher/EventDispatcher.php"
"line" => 206
"function" => "__invoke"
"class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
"type" => "->"
]
[
"file" => "/var/www/html/vendor/symfony/event-dispatcher/EventDispatcher.php"
"line" => 56
"function" => "callListeners"
"class" => "Symfony\Component\EventDispatcher\EventDispatcher"
"type" => "->"
]
[
"file" => "/var/www/html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
"line" => 129
"function" => "dispatch"
"class" => "Symfony\Component\EventDispatcher\EventDispatcher"
"type" => "->"
]
[
"file" => "/var/www/html/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 159
"function" => "dispatch"
"class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
"type" => "->"
]
[
"file" => "/var/www/html/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 76
"function" => "handleRaw"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/html/vendor/symfony/http-kernel/Kernel.php"
"line" => 193
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/html/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
"line" => 35
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\Kernel"
"type" => "->"
]
[
"file" => "/var/www/html/vendor/autoload_runtime.php"
"line" => 32
"function" => "run"
"class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
"type" => "->"
]
[
"file" => "/var/www/html/public/index.php"
"line" => 5
"args" => [
"/var/www/html/vendor/autoload_runtime.php"
]
"function" => "require_once"
]
]
|
App\Controller\LocaleController:15
[
[
"file" => "/var/www/html/src/Controller/LocaleController.php"
"line" => 15
"function" => "set"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/var/www/html/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 183
"function" => "switch"
"class" => "App\Controller\LocaleController"
"type" => "->"
]
[
"file" => "/var/www/html/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 76
"function" => "handleRaw"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/html/vendor/symfony/http-kernel/Kernel.php"
"line" => 193
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/html/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
"line" => 35
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\Kernel"
"type" => "->"
]
[
"file" => "/var/www/html/vendor/autoload_runtime.php"
"line" => 32
"function" => "run"
"class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
"type" => "->"
]
[
"file" => "/var/www/html/public/index.php"
"line" => 5
"args" => [
"/var/www/html/vendor/autoload_runtime.php"
]
"function" => "require_once"
]
]
|
Flashes
Flashes
No flash messages were created.
Server Parameters
Server Parameters
Defined in .env
| Key | Value |
|---|---|
| ADMIN_EMAIL | "kaminski66+szynszyle@gmail.com" |
| APP_ENV | "dev" |
| APP_PORT | "8089" |
| APP_SECRET | "79c23a8082f3bedc9ec6189ccef0407c" |
| APP_SHARE_DIR | "var/share" |
| DATABASE_URL | "postgresql://app:!ChangeMe!@database:5432/app?serverVersion=16&charset=utf8" |
| DB_PORT | "5435" |
| DEFAULT_URI | "http://localhost" |
| MAILER_DSN | "smtp://wystawy@pinkpaw.pl:v5SnDfLCudSvbvwqthxp@mx1.hitme.net.pl:465" |
| MESSENGER_TRANSPORT_DSN | "doctrine://default?auto_setup=0" |
| POSTGRES_DB | "app" |
| POSTGRES_PASSWORD | "!ChangeMe!" |
| POSTGRES_USER | "app" |
Defined as regular env variables
| Key | Value |
|---|---|
| APP_DEBUG | "1" |
| APP_PROJECT_DIR | "/var/www/html" |
| APP_RUNTIME | "Symfony\Component\Runtime\SymfonyRuntime" |
| APP_RUNTIME_OPTIONS | [ "project_dir" => "/var/www/html" ] |
| CONTENT_LENGTH | "" |
| CONTENT_TYPE | "" |
| DOCUMENT_ROOT | "/var/www/html/public" |
| DOCUMENT_URI | "/index.php" |
| FCGI_ROLE | "RESPONDER" |
| GATEWAY_INTERFACE | "CGI/1.1" |
| GPG_KEYS | "39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC" |
| HOME | "/home/www-data" |
| HOSTNAME | "75b16a9c0358" |
| HTTP_ACCEPT | "*/*" |
| HTTP_ACCEPT_ENCODING | "gzip, br, zstd, deflate" |
| HTTP_CONNECTION | "close" |
| HTTP_COOKIE | "sf_redirect=%7B%22token%22%3A%2260bf6d%22%2C%22route%22%3A%22app_switch_locale%22%2C%22method%22%3A%22GET%22%2C%22controller%22%3A%7B%22class%22%3A%22App%5C%5CController%5C%5CLocaleController%22%2C%22method%22%3A%22switch%22%2C%22file%22%3A%22%5C%2Fvar%5C%2Fwww%5C%2Fhtml%5C%2Fsrc%5C%2FController%5C%2FLocaleController.php%22%2C%22line%22%3A13%7D%2C%22status_code%22%3A302%2C%22status_text%22%3A%22Found%22%7D; main_deauth_profile_token=e2703f; PHPSESSID=7ffef1a3b30164d03cedec29b8eab2c7" |
| HTTP_HOST | "pcc.leszczynowa146.top" |
| 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.209" |
| HTTP_X_FORWARDED_PROTO | "https" |
| HTTP_X_FORWARDED_SCHEME | "https" |
| HTTP_X_REAL_IP | "216.73.216.209" |
| PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" |
| PHPIZE_DEPS | "autoconf \t\tdpkg-dev dpkg \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkgconf \t\tre2c" |
| PHP_ASC_URL | "https://www.php.net/distributions/php-8.2.35.tar.xz.asc" |
| PHP_CFLAGS | "-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" |
| PHP_CPPFLAGS | "-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" |
| PHP_INI_DIR | "/usr/local/etc/php" |
| PHP_LDFLAGS | "-Wl,-O1 -pie" |
| PHP_SELF | "/index.php" |
| PHP_SHA256 | "5737b98601fe5ab1b8c5db0c82ed3158acb9283ed3081ffe2faffb9ac81455e6" |
| PHP_URL | "https://www.php.net/distributions/php-8.2.35.tar.xz" |
| PHP_VERSION | "8.2.35" |
| PWD | "/var/www/html" |
| QUERY_STRING | "" |
| REDIRECT_STATUS | "200" |
| REMOTE_ADDR | "172.18.0.10" |
| REMOTE_PORT | "58492" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "http" |
| REQUEST_TIME | 1794656575 |
| REQUEST_TIME_FLOAT | 1794656575.7163 |
| REQUEST_URI | "/locale/en" |
| SCRIPT_FILENAME | "/var/www/html/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SERVER_ADDR | "172.18.0.13" |
| SERVER_NAME | "localhost" |
| SERVER_PORT | "80" |
| SERVER_PROTOCOL | "HTTP/1.1" |
| SERVER_SOFTWARE | "nginx/1.29.8" |
| SHLVL | "1" |
| SYMFONY_DOTENV_PATH | "/var/www/html/.env" |
| SYMFONY_DOTENV_VARS | "APP_ENV,APP_SECRET,APP_SHARE_DIR,DEFAULT_URI,DATABASE_URL,MESSENGER_TRANSPORT_DSN,MAILER_DSN,ADMIN_EMAIL,DB_PORT,APP_PORT,POSTGRES_DB,POSTGRES_USER,POSTGRES_PASSWORD" |
| USER | "www-data" |
| XDEBUG_MODE | "off" |
| argc | 0 |
| argv | [] |