* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ declare(strict_types=1); namespace PrestaShop\Module\PsxDesign\Factory\ThemeConfiguration; if (!defined('_PS_VERSION_')) { exit; } class GlobalThemeConfigurationFactory extends AbstractThemeConfigurationFactory { public function __construct(string $themeName) { parent::__construct($themeName); } /** * @return string|null */ public function getCustomizeUrl(): ?string { return $this->configurations ? $this->configurations->getCustomizeUrl() : null; } /** * @return string[]|null */ public function getScssFiles(): ?array { return $this->configurations ? $this->configurations->getScssFiles() : null; } /** * @return string|null */ public function getScssBaseFolder(): ?string { return $this->configurations ? $this->configurations->getScssBaseFolder() : null; } /** * @param string $themeName * * @return void */ public function setThemeConfigurationsByThemeName(string $themeName): void { $this->setNewTheme($themeName); } }