/home/sharedstore/public_html/prestashop.sharedstore.ma/src/Core/Addon/Theme
NameSizeModeActions
Exception/-0755rm
Theme.php92470644editdlrm
ThemeCollection.php61100644editdlrm
ThemeExporter.php59130644editdlrm
ThemeManager.php212900644editdlrm
ThemeManagerBuilder.php34640644editdlrm
ThemePageLayoutsCustomizer.php22430644editdlrm
ThemePageLayoutsCustomizerInterface.php13600644editdlrm
ThemeProvider.php19550644editdlrm
ThemeProviderInterface.php14810644editdlrm
ThemeRepository.php50870644editdlrm
ThemeUploaderInterface.php14340644editdlrm
ThemeValidator.php57340644editdlrm
ThemeZipUploader.php36190644editdlrm
Edit: /home/sharedstore/public_html/prestashop.sharedstore.ma/src/Core/Addon/Theme/ThemeProvider.php (1955B)
* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ namespace PrestaShop\PrestaShop\Core\Addon\Theme; /** * Class ThemeProvider */ final class ThemeProvider implements ThemeProviderInterface { /** * @var ThemeRepository */ private $themeRepository; /** * @var Theme */ private $theme; /** * @param ThemeRepository $themeRepository * @param Theme $theme */ public function __construct(ThemeRepository $themeRepository, Theme $theme) { $this->themeRepository = $themeRepository; $this->theme = $theme; } /** * {@inheritdoc} */ public function getCurrentlyUsedTheme() { return $this->theme; } /** * {@inheritdoc} */ public function getNotUsedThemes() { return $this->themeRepository->getListExcluding([ $this->getCurrentlyUsedTheme()->getName(), ]); } }