| 1 | <?php | ||
| 5 | class ThemeContainer implements ThemeContainerInterface | ||
| 6 | { | ||
| 7 | /** | ||
| 8 | * @var array | ||
| 9 | */ | ||
| 10 | protected $defaultThemeList; | ||
| 11 | |||
| 12 | /** | ||
| 13 | * @var ThemeProviderInterface[] | ||
| 14 | */ | ||
| 15 | protected $themeProviders; | ||
| 16 | |||
| 17 | /** | ||
| 18 | * @var array | ||
| 19 | */ | ||
| 20 | protected $themeList; | ||
| 21 | |||
| 22 | /** | ||
| 23 | * @var bool | ||
| 24 | */ | ||
| 25 | protected $isInitialized; | ||
| 26 | |||
| 27 | /** | ||
| 28 | * Constructor. | ||
| 29 | * | ||
| 30 | * @param array $defaultThemeList | ||
| 31 | */ | ||
| 32 | public function __construct(array $defaultThemeList = array()) | ||
| 39 | |||
| 40 | /** | ||
| 41 |      * {@inheritdoc} | ||
| 42 | */ | ||
| 43 | public function addThemeProvider(ThemeProviderInterface $themeProviderInterface) | ||
| 49 | |||
| 50 | /** | ||
| 51 |      * {@inheritdoc} | ||
| 52 | */ | ||
| 53 | public function getThemeList() | ||
| 66 | } | ||
| 67 |