LanguagesController :: setDefaultLanguage
Request
GET Parameters
None
POST Parameters
None
Uploaded Files
None
Request Attributes
| Key | Value |
|---|---|
| _controller | "App\Controller\LanguagesController::setDefaultLanguage" |
| _firewall_context | "security.firewall.map.context.main" |
| _route | "select_default_language" |
| _route_params | [ "id" => "14" ] |
| _security_firewall_run | "_security_main" |
| _stopwatch_token | "5516e2" |
| id | "14" |
| languages | App\Entity\Languages {#419 -id: 14 -language: "Italian" -abbreviation: "it" -icon: "it.png" -isActive: true -linkedInOther: true -ranking: 5 } |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, deflate" |
| cookie | "PHPSESSID=20rgsq2cl9vdcf5rgal4cnuqq9" |
| from | "gptbot(at)openai.com" |
| host | "immigrationservices.atts-systems.com" |
| user-agent | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.3; +https://openai.com/gptbot)" |
| x-openai-host-hash | "148871958" |
| 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 | "Wed, 26 Nov 2025 07:36:11 GMT" |
| location | "/" |
| x-debug-token | "f52598" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "20rgsq2cl9vdcf5rgal4cnuqq9" |
Response Cookies
No response cookies
Session 6
Session Metadata
| Key | Value |
|---|---|
| Created | "Wed, 26 Nov 25 07:32:34 +0000" |
| Last used | "Wed, 26 Nov 25 07:36:10 +0000" |
| Lifetime | 15000 |
Session Attributes
| Attribute | Value |
|---|---|
| _csrf/https-website_contacts | "gzS7DiDnjtVAH2gyuTwbiGwtSeZOXt0InQqOoeP8TGQ" |
| _locale | "it" |
| selected_language | "it" |
| selected_language_id | 14 |
Session Usage
6
Usages
Stateless check enabled
| Usage |
|---|
App\Services\LanguagesService:25
[
[
"file" => "/var/www/html/ImmigrationServices/src/Services/LanguagesService.php"
"line" => 25
"function" => "get"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/src/EventListener/LocalListener.php"
"line" => 77
"function" => "getLanguageSelected"
"class" => "App\Services\LanguagesService"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
"line" => 116
"function" => "onKernelRequest"
"class" => "App\EventListener\LocalListener"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/vendor/symfony/event-dispatcher/EventDispatcher.php"
"line" => 220
"function" => "__invoke"
"class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/vendor/symfony/event-dispatcher/EventDispatcher.php"
"line" => 56
"function" => "callListeners"
"class" => "Symfony\Component\EventDispatcher\EventDispatcher"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
"line" => 139
"function" => "dispatch"
"class" => "Symfony\Component\EventDispatcher\EventDispatcher"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 157
"function" => "dispatch"
"class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 76
"function" => "handleRaw"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/vendor/symfony/http-kernel/Kernel.php"
"line" => 197
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
"line" => 35
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\Kernel"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/vendor/autoload_runtime.php"
"line" => 29
"function" => "run"
"class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/public/index.php"
"line" => 5
"args" => [
"/var/www/html/ImmigrationServices/vendor/autoload_runtime.php"
]
"function" => "require_once"
]
]
|
App\EventListener\LocalListener:93
[
[
"file" => "/var/www/html/ImmigrationServices/src/EventListener/LocalListener.php"
"line" => 93
"function" => "set"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
"line" => 116
"function" => "onKernelRequest"
"class" => "App\EventListener\LocalListener"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/vendor/symfony/event-dispatcher/EventDispatcher.php"
"line" => 220
"function" => "__invoke"
"class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/vendor/symfony/event-dispatcher/EventDispatcher.php"
"line" => 56
"function" => "callListeners"
"class" => "Symfony\Component\EventDispatcher\EventDispatcher"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
"line" => 139
"function" => "dispatch"
"class" => "Symfony\Component\EventDispatcher\EventDispatcher"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 157
"function" => "dispatch"
"class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 76
"function" => "handleRaw"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/vendor/symfony/http-kernel/Kernel.php"
"line" => 197
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
"line" => 35
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\Kernel"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/vendor/autoload_runtime.php"
"line" => 29
"function" => "run"
"class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/public/index.php"
"line" => 5
"args" => [
"/var/www/html/ImmigrationServices/vendor/autoload_runtime.php"
]
"function" => "require_once"
]
]
|
App\EventListener\LocalListener:94
[
[
"file" => "/var/www/html/ImmigrationServices/src/EventListener/LocalListener.php"
"line" => 94
"function" => "set"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
"line" => 116
"function" => "onKernelRequest"
"class" => "App\EventListener\LocalListener"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/vendor/symfony/event-dispatcher/EventDispatcher.php"
"line" => 220
"function" => "__invoke"
"class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/vendor/symfony/event-dispatcher/EventDispatcher.php"
"line" => 56
"function" => "callListeners"
"class" => "Symfony\Component\EventDispatcher\EventDispatcher"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
"line" => 139
"function" => "dispatch"
"class" => "Symfony\Component\EventDispatcher\EventDispatcher"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 157
"function" => "dispatch"
"class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 76
"function" => "handleRaw"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/vendor/symfony/http-kernel/Kernel.php"
"line" => 197
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
"line" => 35
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\Kernel"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/vendor/autoload_runtime.php"
"line" => 29
"function" => "run"
"class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/public/index.php"
"line" => 5
"args" => [
"/var/www/html/ImmigrationServices/vendor/autoload_runtime.php"
]
"function" => "require_once"
]
]
|
App\Controller\LanguagesController:312
[
[
"file" => "/var/www/html/ImmigrationServices/src/Controller/LanguagesController.php"
"line" => 312
"function" => "set"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 181
"function" => "setDefaultLanguage"
"class" => "App\Controller\LanguagesController"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 76
"function" => "handleRaw"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/vendor/symfony/http-kernel/Kernel.php"
"line" => 197
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
"line" => 35
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\Kernel"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/vendor/autoload_runtime.php"
"line" => 29
"function" => "run"
"class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/public/index.php"
"line" => 5
"args" => [
"/var/www/html/ImmigrationServices/vendor/autoload_runtime.php"
]
"function" => "require_once"
]
]
|
App\Controller\LanguagesController:313
[
[
"file" => "/var/www/html/ImmigrationServices/src/Controller/LanguagesController.php"
"line" => 313
"function" => "set"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 181
"function" => "setDefaultLanguage"
"class" => "App\Controller\LanguagesController"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 76
"function" => "handleRaw"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/vendor/symfony/http-kernel/Kernel.php"
"line" => 197
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
"line" => 35
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\Kernel"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/vendor/autoload_runtime.php"
"line" => 29
"function" => "run"
"class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/public/index.php"
"line" => 5
"args" => [
"/var/www/html/ImmigrationServices/vendor/autoload_runtime.php"
]
"function" => "require_once"
]
]
|
App\Controller\LanguagesController:314
[
[
"file" => "/var/www/html/ImmigrationServices/src/Controller/LanguagesController.php"
"line" => 314
"function" => "set"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 181
"function" => "setDefaultLanguage"
"class" => "App\Controller\LanguagesController"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 76
"function" => "handleRaw"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/vendor/symfony/http-kernel/Kernel.php"
"line" => 197
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
"line" => 35
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\Kernel"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/vendor/autoload_runtime.php"
"line" => 29
"function" => "run"
"class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
"type" => "->"
]
[
"file" => "/var/www/html/ImmigrationServices/public/index.php"
"line" => 5
"args" => [
"/var/www/html/ImmigrationServices/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 | "3e1e903454d53f3e9c239ed8c4dd4c64" |
| DATABASE_URL | "mysql://stephen:Descartes99@localhost:3306/ImmigrationServices" |
| MAILER_DSN | "smtp://stephen@stephen-nurse.com:Descartes1936!@ns0.ovh.net:587" |
| MESSENGER_TRANSPORT_DSN | "doctrine://default?auto_setup=0" |
Defined as regular env variables
| Key | Value |
|---|---|
| APP_DEBUG | "1" |
| CONTEXT_DOCUMENT_ROOT | "/var/www/html/ImmigrationServices/public" |
| CONTEXT_PREFIX | "" |
| DOCUMENT_ROOT | "/var/www/html/ImmigrationServices/public" |
| GATEWAY_INTERFACE | "CGI/1.1" |
| HTTPS | "on" |
| HTTP_ACCEPT | "*/*" |
| HTTP_ACCEPT_ENCODING | "gzip, br, deflate" |
| HTTP_COOKIE | "PHPSESSID=20rgsq2cl9vdcf5rgal4cnuqq9" |
| HTTP_FROM | "gptbot(at)openai.com" |
| HTTP_HOST | "immigrationservices.atts-systems.com" |
| HTTP_USER_AGENT | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.3; +https://openai.com/gptbot)" |
| HTTP_X_OPENAI_HOST_HASH | "148871958" |
| PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" |
| PHP_SELF | "/index.php" |
| QUERY_STRING | "" |
| REDIRECT_HTTPS | "on" |
| REDIRECT_SSL_TLS_SNI | "immigrationservices.atts-systems.com" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/languages/select_default_language/14" |
| REMOTE_ADDR | "74.7.227.149" |
| REMOTE_PORT | "45922" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1764142571 |
| REQUEST_TIME_FLOAT | 1764142571.1766 |
| REQUEST_URI | "/languages/select_default_language/14" |
| SCRIPT_FILENAME | "/var/www/html/ImmigrationServices/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SERVER_ADDR | "54.36.163.14" |
| SERVER_ADMIN | "[no address given]" |
| SERVER_NAME | "immigrationservices.atts-systems.com" |
| SERVER_PORT | "443" |
| SERVER_PROTOCOL | "HTTP/1.1" |
| SERVER_SIGNATURE | "<address>Apache/2.4.52 (Ubuntu) Server at immigrationservices.atts-systems.com Port 443</address>\n" |
| SERVER_SOFTWARE | "Apache/2.4.52 (Ubuntu)" |
| SSL_TLS_SNI | "immigrationservices.atts-systems.com" |
| SYMFONY_DOTENV_VARS | "APP_ENV,APP_SECRET,DATABASE_URL,MESSENGER_TRANSPORT_DSN,MAILER_DSN" |