| 1 | <?php |
||
| 11 | class GlobalContext |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | private $locale; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * GlobalContext constructor. |
||
| 20 | * |
||
| 21 | * @param string $locale |
||
| 22 | */ |
||
| 23 | public function __construct($locale) |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Returns the global locale of the application. |
||
| 30 | * |
||
| 31 | * @return string |
||
| 32 | */ |
||
| 33 | public function getLocale() |
||
| 37 | } |
||
| 38 |