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