| 1 | <?php |
||
| 13 | class GlobalContextFactory |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var LanguageProvider |
||
| 17 | */ |
||
| 18 | private $languageProvider; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * GlobalContextFactory constructor. |
||
| 22 | * |
||
| 23 | * @param LanguageProvider $languageProvider |
||
| 24 | */ |
||
| 25 | public function __construct(LanguageProvider $languageProvider) |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @param Request $request |
||
| 32 | * |
||
| 33 | * @return GlobalContext |
||
| 34 | */ |
||
| 35 | public function createFromRequest(Request $request) |
||
| 41 | } |
||
| 42 |