HomeController :: switchLocale
Request
GET Parameters
None
POST Parameters
None
Uploaded Files
None
Request Attributes
| Key | Value |
|---|---|
| _access_control_attributes | null |
| _controller | "App\Controller\HomeController::switchLocale" |
| _firewall_context | "security.firewall.map.context.main" |
| _redirected | true |
| _route | "switch_locale" |
| _route_params | [ "locale" => "en" ] |
| _security_authenticators | [] |
| _security_skipped_authenticators | [ Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator {#680 -supports: false -passport: null -duration: null -stub: "Symfony\Component\Security\Http\Authenticator\FormLoginAuthenticator" -authenticated: null -exception: null -authenticator: Symfony\Component\Security\Http\Authenticator\FormLoginAuthenticator {#606 …} } Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator {#682 -supports: false -passport: null -duration: null -stub: "Symfony\Component\Security\Http\Authenticator\RememberMeAuthenticator" -authenticated: null -exception: null -authenticator: Symfony\Component\Security\Http\Authenticator\RememberMeAuthenticator {#683 …} } ] |
| _stopwatch_token | "fa378c" |
| locale | "en" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| cookie | "main_deauth_profile_token=a59472; PHPSESSID=60d4c38de007879fbcde181f2ef21714; sf_redirect=%7B%22token%22%3A%22db3dec%22%2C%22route%22%3A%22switch_locale%22%2C%22method%22%3A%22GET%22%2C%22controller%22%3A%7B%22class%22%3A%22App%5C%5CController%5C%5CHomeController%22%2C%22method%22%3A%22switchLocale%22%2C%22file%22%3A%22%5C%2Fhome%5C%2Ffabio.devito%5C%2Fprojects%5C%2Fpali%5C%2Fsrc%5C%2FController%5C%2FHomeController.php%22%2C%22line%22%3A35%7D%2C%22status_code%22%3A302%2C%22status_text%22%3A%22Found%22%7D" |
| host | "dev-www.torrepalisalento.it" |
| 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" |
| cross-origin-opener-policy | "same-origin" |
| date | "Mon, 30 Nov 2026 23:15:16 GMT" |
| location | "/en" |
| permissions-policy | "geolocation=(), microphone=(), camera=(), payment=()" |
| referrer-policy | "strict-origin-when-cross-origin" |
| x-content-type-options | "nosniff" |
| x-debug-token | "694ddd" |
| x-frame-options | "SAMEORIGIN" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "60d4c38de007879fbcde181f2ef21714" |
| main_deauth_profile_token | "a59472" |
| sf_redirect | "{"token":"db3dec","route":"switch_locale","method":"GET","controller":{"class":"App\\Controller\\HomeController","method":"switchLocale","file":"\/home\/fabio.devito\/projects\/pali\/src\/Controller\/HomeController.php","line":35},"status_code":302,"status_text":"Found"}" |
Response Cookies
No response cookies
Session 3
Session Metadata
| Key | Value |
|---|---|
| Created | "Tue, 01 Dec 26 00:15:13 +0100" |
| Last used | "Tue, 01 Dec 26 00:15:16 +0100" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| _locale | "en" |
Session Usage
3
Usages
Stateless check enabled
| Usage |
|---|
App\EventListener\LocaleSubscriber:40
[
[
"file" => "/home/fabio.devito/projects/pali/src/EventListener/LocaleSubscriber.php"
"line" => 40
"function" => "get"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/home/fabio.devito/projects/pali/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
"line" => 115
"function" => "__invoke"
"class" => "App\EventListener\LocaleSubscriber"
"type" => "->"
]
[
"file" => "/home/fabio.devito/projects/pali/vendor/symfony/event-dispatcher/EventDispatcher.php"
"line" => 206
"function" => "__invoke"
"class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
"type" => "->"
]
[
"file" => "/home/fabio.devito/projects/pali/vendor/symfony/event-dispatcher/EventDispatcher.php"
"line" => 56
"function" => "callListeners"
"class" => "Symfony\Component\EventDispatcher\EventDispatcher"
"type" => "->"
]
[
"file" => "/home/fabio.devito/projects/pali/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
"line" => 129
"function" => "dispatch"
"class" => "Symfony\Component\EventDispatcher\EventDispatcher"
"type" => "->"
]
[
"file" => "/home/fabio.devito/projects/pali/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 159
"function" => "dispatch"
"class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
"type" => "->"
]
[
"file" => "/home/fabio.devito/projects/pali/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 76
"function" => "handleRaw"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/home/fabio.devito/projects/pali/vendor/symfony/http-kernel/Kernel.php"
"line" => 193
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/home/fabio.devito/projects/pali/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
"line" => 35
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\Kernel"
"type" => "->"
]
[
"file" => "/home/fabio.devito/projects/pali/vendor/autoload_runtime.php"
"line" => 32
"function" => "run"
"class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
"type" => "->"
]
[
"file" => "/home/fabio.devito/projects/pali/public/index.php"
"line" => 5
"args" => [
"/home/fabio.devito/projects/pali/vendor/autoload_runtime.php"
]
"function" => "require_once"
]
]
|
App\EventListener\LocaleSubscriber:52
[
[
"file" => "/home/fabio.devito/projects/pali/src/EventListener/LocaleSubscriber.php"
"line" => 52
"function" => "set"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/home/fabio.devito/projects/pali/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
"line" => 115
"function" => "__invoke"
"class" => "App\EventListener\LocaleSubscriber"
"type" => "->"
]
[
"file" => "/home/fabio.devito/projects/pali/vendor/symfony/event-dispatcher/EventDispatcher.php"
"line" => 206
"function" => "__invoke"
"class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
"type" => "->"
]
[
"file" => "/home/fabio.devito/projects/pali/vendor/symfony/event-dispatcher/EventDispatcher.php"
"line" => 56
"function" => "callListeners"
"class" => "Symfony\Component\EventDispatcher\EventDispatcher"
"type" => "->"
]
[
"file" => "/home/fabio.devito/projects/pali/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
"line" => 129
"function" => "dispatch"
"class" => "Symfony\Component\EventDispatcher\EventDispatcher"
"type" => "->"
]
[
"file" => "/home/fabio.devito/projects/pali/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 159
"function" => "dispatch"
"class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
"type" => "->"
]
[
"file" => "/home/fabio.devito/projects/pali/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 76
"function" => "handleRaw"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/home/fabio.devito/projects/pali/vendor/symfony/http-kernel/Kernel.php"
"line" => 193
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/home/fabio.devito/projects/pali/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
"line" => 35
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\Kernel"
"type" => "->"
]
[
"file" => "/home/fabio.devito/projects/pali/vendor/autoload_runtime.php"
"line" => 32
"function" => "run"
"class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
"type" => "->"
]
[
"file" => "/home/fabio.devito/projects/pali/public/index.php"
"line" => 5
"args" => [
"/home/fabio.devito/projects/pali/vendor/autoload_runtime.php"
]
"function" => "require_once"
]
]
|
App\Controller\HomeController:37
[
[
"file" => "/home/fabio.devito/projects/pali/src/Controller/HomeController.php"
"line" => 37
"function" => "set"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/home/fabio.devito/projects/pali/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 183
"function" => "switchLocale"
"class" => "App\Controller\HomeController"
"type" => "->"
]
[
"file" => "/home/fabio.devito/projects/pali/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 76
"function" => "handleRaw"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/home/fabio.devito/projects/pali/vendor/symfony/http-kernel/Kernel.php"
"line" => 193
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/home/fabio.devito/projects/pali/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
"line" => 35
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\Kernel"
"type" => "->"
]
[
"file" => "/home/fabio.devito/projects/pali/vendor/autoload_runtime.php"
"line" => 32
"function" => "run"
"class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
"type" => "->"
]
[
"file" => "/home/fabio.devito/projects/pali/public/index.php"
"line" => 5
"args" => [
"/home/fabio.devito/projects/pali/vendor/autoload_runtime.php"
]
"function" => "require_once"
]
]
|
Flashes
Flashes
No flash messages were created.
Server Parameters
Server Parameters
Defined in .env
| Key | Value |
|---|---|
| APP_DEFAULT_LOCALE | "it" |
| APP_SECRET | "af24d98a4f99c76e93f08a81fb49b96a" |
| APP_SHARE_DIR | "var/share" |
| APP_SUPPORTED_LOCALES | "it|en|fr|de|es" |
| CORS_ALLOW_ORIGIN | "^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$" |
| DATABASE_URL | "mysql://torrepali:torrepali@127.0.0.1:3306/torrepali?serverVersion=10.11.14-MariaDB&charset=utf8mb4" |
| DEFAULT_URI | "https://torre-pali.it" |
| MAILER_DSN | "null://null" |
| MESSENGER_TRANSPORT_DSN | "doctrine://default?auto_setup=0" |
| OAUTH_ENCRYPTION_KEY | "2a5e2c4f8b5886a70706fdd8b87e5800" |
| OAUTH_PASSPHRASE | "014b4acf84fa9093f52ce2814de8822d" |
| OAUTH_PRIVATE_KEY | "%kernel.project_dir%/config/jwt/private.pem" |
| OAUTH_PUBLIC_KEY | "%kernel.project_dir%/config/jwt/public.pem" |
| VAPID_PRIVATE_KEY | "PctcqdJSnEAO-GEHsI1DwX1kwnFrbbBRkTSLx6WzCG8" |
| VAPID_PUBLIC_KEY | "BOMBd1Jw3ar87EPz5g19Z0pYdfglOtPExdfslrYrnkM0wrge2x8JYH6pvJ0ZbkgqUTJuOZQbDRgl-8_Wrl3N230" |
| VAPID_SUBJECT | "mailto:admin@torre-pali.it" |
Defined as regular env variables
| Key | Value |
|---|---|
| APP_DEBUG | "1" |
| APP_ENV | "dev" |
| APP_PROJECT_DIR | "/home/fabio.devito/projects/pali" |
| APP_RUNTIME | "Symfony\Component\Runtime\SymfonyRuntime" |
| APP_RUNTIME_OPTIONS | [ "project_dir" => "/home/fabio.devito/projects/pali" ] |
| CONTENT_LENGTH | "" |
| CONTENT_TYPE | "" |
| DOCUMENT_ROOT | "/home/fabio.devito/projects/pali/public" |
| DOCUMENT_URI | "/index.php" |
| FCGI_ROLE | "RESPONDER" |
| GATEWAY_INTERFACE | "CGI/1.1" |
| HOME | "/home/fabio.devito" |
| HTTPS | "on" |
| HTTP_ACCEPT | "*/*" |
| HTTP_ACCEPT_ENCODING | "gzip, br, zstd, deflate" |
| HTTP_COOKIE | "main_deauth_profile_token=a59472; PHPSESSID=60d4c38de007879fbcde181f2ef21714; sf_redirect=%7B%22token%22%3A%22db3dec%22%2C%22route%22%3A%22switch_locale%22%2C%22method%22%3A%22GET%22%2C%22controller%22%3A%7B%22class%22%3A%22App%5C%5CController%5C%5CHomeController%22%2C%22method%22%3A%22switchLocale%22%2C%22file%22%3A%22%5C%2Fhome%5C%2Ffabio.devito%5C%2Fprojects%5C%2Fpali%5C%2Fsrc%5C%2FController%5C%2FHomeController.php%22%2C%22line%22%3A35%7D%2C%22status_code%22%3A302%2C%22status_text%22%3A%22Found%22%7D" |
| HTTP_HOST | "dev-www.torrepalisalento.it" |
| HTTP_USER_AGENT | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" |
| PATH_INFO | "" |
| PHP_SELF | "/index.php" |
| QUERY_STRING | "" |
| REDIRECT_STATUS | "200" |
| REMOTE_ADDR | "216.73.216.15" |
| REMOTE_PORT | "63971" |
| REMOTE_USER | "" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1796080516 |
| REQUEST_TIME_FLOAT | 1796080516.3851 |
| REQUEST_URI | "/lang/en" |
| SCRIPT_FILENAME | "/home/fabio.devito/projects/pali/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SERVER_ADDR | "77.216.147.115" |
| SERVER_NAME | "dev-www.torrepalisalento.it" |
| SERVER_PORT | "443" |
| SERVER_PROTOCOL | "HTTP/2.0" |
| SERVER_SOFTWARE | "nginx/1.28.3" |
| SYMFONY_DOTENV_PATH | "/home/fabio.devito/projects/pali/.env" |
| SYMFONY_DOTENV_VARS | "APP_SECRET,APP_SHARE_DIR,DEFAULT_URI,DATABASE_URL,MESSENGER_TRANSPORT_DSN,MAILER_DSN,CORS_ALLOW_ORIGIN,OAUTH_PRIVATE_KEY,OAUTH_PUBLIC_KEY,OAUTH_PASSPHRASE,OAUTH_ENCRYPTION_KEY,APP_DEFAULT_LOCALE,APP_SUPPORTED_LOCALES,VAPID_PUBLIC_KEY,VAPID_PRIVATE_KEY,VAPID_SUBJECT" |
| USER | "fabio.devito" |