| Conditions | 3 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 3 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 53 | public function getThemeList() |
||
| 54 | { |
||
| 55 | if (false === $this->isInitialized) { |
||
| 56 | $this->themeList = $this->defaultThemeList; |
||
| 57 | foreach ($this->themeProviders as $themeProvider) { |
||
| 58 | /** @var ThemeProviderInterface $themeProvider */ |
||
| 59 | $this->themeList = array_merge($this->themeList, $themeProvider->getThemeList()); |
||
| 60 | } |
||
| 61 | $this->isInitialized = true; |
||
| 62 | } |
||
| 63 | |||
| 64 | return $this->themeList; |
||
| 65 | } |
||
| 66 | } |
||
| 67 |