ImportThemeService
in package
Class ImportService
Table of Contents
- $cacheControl : CacheControl
- $configuration : StyleEditConfiguration
- $fileIO : FileIO
- $filesystem : FilesystemAdapter
- $phraseCacheBuilder : PhraseCacheBuilder
- $shopBasePath : ShopBasePath
- __construct() : mixed
- import() : bool
- copyThemeToPath() : mixed
- themeExists() : bool
Properties
$cacheControl
private
CacheControl
$cacheControl
$configuration
private
StyleEditConfiguration
$configuration
$fileIO
private
FileIO
$fileIO
$filesystem
private
FilesystemAdapter
$filesystem
$phraseCacheBuilder
private
PhraseCacheBuilder
$phraseCacheBuilder
$shopBasePath
private
ShopBasePath
$shopBasePath
Methods
__construct()
public
__construct() : mixed
Return values
mixed —import()
public
import(string $themeId, string $themeTmpPath[, bool $overwrite = false ]) : bool
Parameters
- $themeId : string
- $themeTmpPath : string
- $overwrite : bool = false
Tags
Return values
bool —copyThemeToPath()
protected
copyThemeToPath(mixed $tmp, mixed $final) : mixed
Parameters
- $tmp : mixed
- $final : mixed
Return values
mixed —themeExists()
protected
themeExists(string $themeId) : bool
Parameters
- $themeId : string