| 1 | <?php |
||
| 8 | class ActiveTheme extends Base |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var bool |
||
| 12 | */ |
||
| 13 | protected $isInitialized = false; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var ThemeContainerInterface|null |
||
| 17 | */ |
||
| 18 | protected $themeContainer; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Get ThemeContainer |
||
| 22 | * |
||
| 23 | * @return ThemeContainerInterface|null |
||
| 24 | */ |
||
| 25 | public function getThemeContainer() |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Set ThemeContainer |
||
| 32 | * |
||
| 33 | * @param ThemeContainerInterface|null $themeContainer |
||
| 34 | * |
||
| 35 | * @return $this |
||
| 36 | */ |
||
| 37 | public function setThemeContainer(ThemeContainerInterface $themeContainer = null) |
||
| 43 | |||
| 44 | /** |
||
| 45 | * {@inheritdoc} |
||
| 46 | */ |
||
| 47 | public function __construct($name, array $themes = array(), DeviceDetectionInterface $deviceDetection = null) |
||
| 51 | |||
| 52 | /** |
||
| 53 | * Initialize the theme list. |
||
| 54 | */ |
||
| 55 | public function init() |
||
| 62 | |||
| 63 | /** |
||
| 64 | * {@inheritdoc} |
||
| 65 | */ |
||
| 66 | public function getThemes() |
||
| 71 | |||
| 72 | /** |
||
| 73 | * {@inheritdoc} |
||
| 74 | */ |
||
| 75 | public function setName($name) |
||
| 80 | } |
||
| 81 |