1 | <?php |
||
24 | class DefaultNavigationThemeProvider implements NavigationThemeProviderInterface { |
||
25 | |||
26 | use TranslatorTrait { |
||
27 | setTranslator as public; |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * Constructor. |
||
32 | */ |
||
33 | public function __construct() { |
||
36 | |||
37 | /** |
||
38 | * {@inheritDoc} |
||
39 | */ |
||
40 | public function getTree() { |
||
43 | |||
44 | /** |
||
45 | * {@inheritDoc} |
||
46 | */ |
||
47 | public function getView() { |
||
50 | |||
51 | /** |
||
52 | * Translate. |
||
53 | * |
||
54 | * @param string $id The id. |
||
55 | * @param array $parameters Teh parameters. |
||
56 | * @param string $domain The domain. |
||
57 | * @param string $locale The locale. |
||
58 | * @return string Returns the translated id in case of success, id otherwise. |
||
59 | */ |
||
60 | protected function translate($id, array $parameters = [], $domain = null, $locale = null) { |
||
68 | } |
||
69 |