* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ namespace PrestaShop\Module\PsxDesign\Provider\ThemeConfiguration; if (!defined('_PS_VERSION_')) { exit; } class ThemeConfigurationProvider { /** * @var FontsConfigurationProvider */ public $fonts; /** * @var ColorsConfigurationProvider */ public $colors; /** * @var GlobalConfigurationProvider */ public $global; public function __construct(FontsConfigurationProvider $fonts, ColorsConfigurationProvider $colors, GlobalConfigurationProvider $global) { $this->fonts = $fonts; $this->colors = $colors; $this->global = $global; } /** * @param string $themeName * * @return void */ public function setThemeConfigurationsByThemeName(string $themeName): void { $this->global->setThemeConfigurationsByThemeName($themeName); } }