ThemeSettingsService
in package
implements
ThemeSettingsServiceInterface
Class ThemeSettingsService
Tags
Interfaces, Classes and Traits
- ThemeSettingsServiceInterface
- Interface ThemeSettingsServiceInterface
Table of Contents
- $cacheControl : CacheControl
- $repository : ThemeSettingsRepositoryInterface
- $themeService : ThemeServiceInterface
- $initialisationService : ThemeInitialisationServiceInterface
- __construct() : mixed
- ThemeSettingsService constructor.
- activateTheme() : void
- clearCache() : void
- loadStyleEdit3DependenciesForStyleEdit4() : void
- storeSettingsJsonForTheme() : void
Properties
$cacheControl
protected
CacheControl
$cacheControl
$repository
protected
ThemeSettingsRepositoryInterface
$repository
$themeService
protected
ThemeServiceInterface
$themeService
$initialisationService
private
ThemeInitialisationServiceInterface
$initialisationService
Methods
__construct()
ThemeSettingsService constructor.
public
__construct(ThemeSettingsRepositoryInterface $repository, CacheControl $cacheControl, ThemeServiceInterface $themeService) : mixed
Parameters
- $repository : ThemeSettingsRepositoryInterface
- $cacheControl : CacheControl
- $themeService : ThemeServiceInterface
Return values
mixed —activateTheme()
public
activateTheme(string $themeId[, bool $clearCache = true ]) : void
Parameters
- $themeId : string
- $clearCache : bool = true
Tags
Return values
void —clearCache()
protected
clearCache(string $themeId) : void
Parameters
- $themeId : string
Return values
void —loadStyleEdit3DependenciesForStyleEdit4()
protected
loadStyleEdit3DependenciesForStyleEdit4(string $themeId) : void
Parameters
- $themeId : string
Tags
Return values
void —storeSettingsJsonForTheme()
protected
storeSettingsJsonForTheme(string $themeId, string $content[, bool $overwrite = false ]) : void
Parameters
- $themeId : string
- $content : string
- $overwrite : bool = false