====== LocaleController ======
**Layer:** ''Controller'' · **Source:** ''lib/controller/LocaleController.php:18'' (lines 18–50)
----
class LocaleController
Handles frontend language switching with HTMX support.
======= Docblock Metadata =======
^ Tag ^ Value ^
| ''@category'' | Controller |
| ''@author'' | Scriptlog |
| ''@license'' | MIT |
| ''@version'' | 1.0 |
======= Inheritance =======
//No parent, interface or trait. This is a root type.//
======= Constants (0) =======
//None.//
======= Properties (0) =======
//None declared.//
======= Methods (1) =======
^ Visibility ^ Method ^ Summary ^ Line ^
| public | ''switch()'' | Switch locale — handles POST from language switcher. | 23 |
======== switch() ========
public function switch(): void
//lines 23–49 (27)//
Switch locale — handles POST from language switcher.
//Takes no parameters.//
**Returns:** ''void''
----
//This page is generated from source by 'tools/gendoc'. Edits will be overwritten.//