1 | <?php |
||
25 | class ViewConfig implements ViewConfigInterface |
||
26 | { |
||
27 | /** |
||
28 | * @var |
||
29 | */ |
||
30 | private $requestStack; |
||
31 | |||
32 | /** |
||
33 | * @var string |
||
34 | */ |
||
35 | private $logo; |
||
36 | |||
37 | /** |
||
38 | * @var array |
||
39 | */ |
||
40 | private $title; |
||
41 | |||
42 | /** |
||
43 | * The arrays are arrays of translated text, indexed on locale. |
||
44 | * |
||
45 | * @param RequestStack $requestStack |
||
46 | * @param string $logo |
||
47 | * @param array $title |
||
48 | */ |
||
49 | public function __construct( |
||
58 | |||
59 | /** |
||
60 | * @return string |
||
61 | */ |
||
62 | public function getLogo() |
||
66 | |||
67 | /** |
||
68 | * @return string |
||
69 | */ |
||
70 | public function getTitle() |
||
74 | |||
75 | /** |
||
76 | * @param array $translations |
||
77 | * @return mixed |
||
78 | * @throws LogicException |
||
79 | */ |
||
80 | private function getTranslation(array $translations) |
||
97 | } |
||
98 |