LocaleSwitchController :: switch
Request
GET Parameters
None
POST Parameters
None
Uploaded Files
None
Request Attributes
| Key | Value |
|---|---|
| _access_control_attributes | null |
| _controller | "App\Controller\LocaleSwitchController::switch" |
| _firewall_context | "security.firewall.map.context.main" |
| _route | "app_locale_switch" |
| _route_params | [ "locale" => "fr" ] |
| _security_authenticators | [] |
| _security_skipped_authenticators | [ Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator {#283 -supports: false -passport: null -duration: null -stub: "Symfony\Component\Security\Http\Authenticator\FormLoginAuthenticator" -authenticated: null -exception: null -authenticator: Symfony\Component\Security\Http\Authenticator\FormLoginAuthenticator {#351 …} } ] |
| _stopwatch_token | "3529a6" |
| locale | "fr" |
Request Headers
| Header | Value |
|---|---|
| accept | "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7" |
| accept-encoding | "gzip, deflate, br" |
| accept-language | "en-US,en;q=0.9" |
| cookie | "main_deauth_profile_token=2b2a89; PHPSESSID=370shaonvmsgtimt3lpljcd6ng" |
| host | "dev.veka-ws.ovh" |
| sec-ch-ua | "Google Chrome";v="111", "Not(A:Brand";v="8", "Chromium";v="111" |
| sec-fetch-mode | "navigate" |
| user-agent | "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36" |
| 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 | "Sun, 31 May 2026 10:24:30 GMT" |
| location | "/" |
| permissions-policy | "camera=(), microphone=(), geolocation=()" |
| referrer-policy | "strict-origin-when-cross-origin" |
| set-cookie | "_locale_preference=fr; expires=Mon, 31 May 2027 10:24:30 GMT; Max-Age=31536000; path=/; secure; httponly; samesite=lax" |
| strict-transport-security | "max-age=31536000; includeSubDomains" |
| x-content-type-options | "nosniff" |
| x-debug-token | "922af0" |
| x-frame-options | "SAMEORIGIN" |
| x-xss-protection | "1; mode=block" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "370shaonvmsgtimt3lpljcd6ng" |
| main_deauth_profile_token | "2b2a89" |
Response Cookies
| Key | Value |
|---|---|
| _locale_preference | Symfony\Component\HttpFoundation\Cookie {#579 #expire: 1811759070 #path: "/" -sameSite: "lax" -secureDefault: true #name: "_locale_preference" #value: "fr" #domain: null #secure: true #httpOnly: true -raw: false -partitioned: false } |
Session 2
Session Metadata
| Key | Value |
|---|---|
| Created | "Sun, 31 May 26 12:24:26 +0200" |
| Last used | "Sun, 31 May 26 12:24:29 +0200" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| _csrf/https-authenticate | "4ZxnHg1DhNgVjdGRZss7p2w-7tIMzpE3Tk4TQBAyV6I" |
| _locale | "fr" |
Session Usage
2
Usages
Stateless check enabled
| Usage |
|---|
App\EventSubscriber\LocaleSubscriber:31
[
[
"file" => "/var/www/html/veka-ws/src/EventSubscriber/LocaleSubscriber.php"
"line" => 31
"function" => "get"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/var/www/html/veka-ws/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
"line" => 115
"function" => "onKernelRequest"
"class" => "App\EventSubscriber\LocaleSubscriber"
"type" => "->"
]
[
"file" => "/var/www/html/veka-ws/vendor/symfony/event-dispatcher/EventDispatcher.php"
"line" => 206
"function" => "__invoke"
"class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
"type" => "->"
]
[
"file" => "/var/www/html/veka-ws/vendor/symfony/event-dispatcher/EventDispatcher.php"
"line" => 56
"function" => "callListeners"
"class" => "Symfony\Component\EventDispatcher\EventDispatcher"
"type" => "->"
]
[
"file" => "/var/www/html/veka-ws/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
"line" => 126
"function" => "dispatch"
"class" => "Symfony\Component\EventDispatcher\EventDispatcher"
"type" => "->"
]
[
"file" => "/var/www/html/veka-ws/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 159
"function" => "dispatch"
"class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
"type" => "->"
]
[
"file" => "/var/www/html/veka-ws/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 76
"function" => "handleRaw"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/html/veka-ws/vendor/symfony/http-kernel/Kernel.php"
"line" => 193
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/html/veka-ws/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
"line" => 35
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\Kernel"
"type" => "->"
]
[
"file" => "/var/www/html/veka-ws/vendor/autoload_runtime.php"
"line" => 32
"function" => "run"
"class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
"type" => "->"
]
[
"file" => "/var/www/html/veka-ws/public/index.php"
"line" => 5
"args" => [
"/var/www/html/veka-ws/vendor/autoload_runtime.php"
]
"function" => "require_once"
]
]
|
App\Controller\LocaleSwitchController:22
[
[
"file" => "/var/www/html/veka-ws/src/Controller/LocaleSwitchController.php"
"line" => 22
"function" => "set"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/var/www/html/veka-ws/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 183
"function" => "switch"
"class" => "App\Controller\LocaleSwitchController"
"type" => "->"
]
[
"file" => "/var/www/html/veka-ws/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 76
"function" => "handleRaw"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/html/veka-ws/vendor/symfony/http-kernel/Kernel.php"
"line" => 193
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/html/veka-ws/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
"line" => 35
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\Kernel"
"type" => "->"
]
[
"file" => "/var/www/html/veka-ws/vendor/autoload_runtime.php"
"line" => 32
"function" => "run"
"class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
"type" => "->"
]
[
"file" => "/var/www/html/veka-ws/public/index.php"
"line" => 5
"args" => [
"/var/www/html/veka-ws/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 | "d5492af8ffad7300b4db7d1ced9054b5" |
| DATABASE_URL | "mysql://root:Frlj1cgg@127.0.0.1:3306/veka?serverVersion=8.0.32&charset=utf8mb4" |
| EXPORT_API_KEY | "" |
| INSEE_API_KEY | "5a6a9452-7e83-4955-aa94-527e83f955a1" |
| MAILER_DSN | "smtp://8a28cf001@smtp-brevo.com:xsmtpsib-4f94bd4587c7735c2a7be28387c7bfa4b6d1781c1e56cd2d6a914a66d613889b-NU76NziBZdAYHBH7@smtp-relay.brevo.com:587" |
| MAIL_FROM | "contact@rdelon.fr" |
| MAIL_FROM_NAME | "VEKA WS - TEST" |
| OVH_SMS_APPLICATION_KEY | "b68cd867736d99a0" |
| OVH_SMS_APPLICATION_SECRET | "ae27961c913059cef1fc0ed7f7fbf9fd" |
| OVH_SMS_CONSUMER_KEY | "5348fb82f0c10367791d7dbe55cf5133" |
| OVH_SMS_SENDER | "VEKAWSOVH" |
| OVH_SMS_SERVICE_NAME | "sms-dr43341-1" |
| SMTP_HOST | "smtp-relay.brevo.com" |
| SMTP_PASSWORD | "xsmtpsib-4f94bd4587c7735c2a7be28387c7bfa4b6d1781c1e56cd2d6a914a66d613889b-NU76NziBZdAYHBH7" |
| SMTP_PORT | "587" |
| SMTP_SECURE | "tls" |
| SMTP_USER | "8a28cf001@smtp-brevo.com" |
Defined as regular env variables
| Key | Value |
|---|---|
| APP_DEBUG | "1" |
| APP_PROJECT_DIR | "/var/www/html/veka-ws" |
| APP_RUNTIME | "Symfony\Component\Runtime\SymfonyRuntime" |
| APP_RUNTIME_OPTIONS | [ "project_dir" => "/var/www/html/veka-ws" ] |
| CONTEXT_DOCUMENT_ROOT | "/var/www/html/veka-ws/public" |
| CONTEXT_PREFIX | "" |
| DOCUMENT_ROOT | "/var/www/html/veka-ws/public" |
| GATEWAY_INTERFACE | "CGI/1.1" |
| HTTPS | "on" |
| HTTP_ACCEPT | "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7" |
| HTTP_ACCEPT_ENCODING | "gzip, deflate, br" |
| HTTP_ACCEPT_LANGUAGE | "en-US,en;q=0.9" |
| HTTP_COOKIE | "main_deauth_profile_token=2b2a89; PHPSESSID=370shaonvmsgtimt3lpljcd6ng" |
| HTTP_HOST | "dev.veka-ws.ovh" |
| HTTP_SEC_CH_UA | "Google Chrome";v="111", "Not(A:Brand";v="8", "Chromium";v="111" |
| HTTP_SEC_FETCH_MODE | "navigate" |
| HTTP_USER_AGENT | "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36" |
| PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" |
| PHP_SELF | "/index.php" |
| QUERY_STRING | "" |
| REDIRECT_HTTPS | "on" |
| REDIRECT_SSL_TLS_SNI | "dev.veka-ws.ovh" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/locale/fr" |
| REMOTE_ADDR | "103.196.9.159" |
| REMOTE_PORT | "36480" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1780223070 |
| REQUEST_TIME_FLOAT | 1780223070.1892 |
| REQUEST_URI | "/locale/fr" |
| SCRIPT_FILENAME | "/var/www/html/veka-ws/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SERVER_ADDR | "172.31.3.222" |
| SERVER_ADMIN | "webmaster@localhost" |
| SERVER_NAME | "dev.veka-ws.ovh" |
| SERVER_PORT | "443" |
| SERVER_PROTOCOL | "HTTP/1.1" |
| SERVER_SIGNATURE | "<address>Apache/2.4.67 (Debian) Server at dev.veka-ws.ovh Port 443</address>\n" |
| SERVER_SOFTWARE | "Apache/2.4.67 (Debian)" |
| SSL_TLS_SNI | "dev.veka-ws.ovh" |
| SYMFONY_DOTENV_PATH | "/var/www/html/veka-ws/.env" |
| SYMFONY_DOTENV_VARS | "APP_ENV,APP_SECRET,DATABASE_URL,INSEE_API_KEY,EXPORT_API_KEY,MAILER_DSN,SMTP_HOST,SMTP_PORT,SMTP_USER,SMTP_PASSWORD,SMTP_SECURE,MAIL_FROM,MAIL_FROM_NAME,OVH_SMS_APPLICATION_KEY,OVH_SMS_APPLICATION_SECRET,OVH_SMS_CONSUMER_KEY,OVH_SMS_SERVICE_NAME,OVH_SMS_SENDER" |