themeList = $themeList; $this->themeFactory = $themeFactory; } /** * @inheritdoc */ public function getThemeByFullPath($fullPath) { if (!isset($this->themes[$fullPath])) { $this->themes[$fullPath] = $this->themeList->getThemeByFullPath($fullPath); } return $this->themes[$fullPath]; } /** * @inheritdoc * @SuppressWarnings(PHPMD.UnusedFormalParameter) */ public function getThemeCustomizations( $area = \Magento\Framework\App\Area::AREA_FRONTEND, $type = \Magento\Framework\View\Design\ThemeInterface::TYPE_VIRTUAL ) { return []; } /** * @inheritdoc */ public function getThemeById($themeId) { return $this->themeFactory->getTheme($themeId); } }