Methods
__construct
__construct(\FilesystemAdapter $filesystem, \ExistingDirectory $shopSource)
_appendFileContent
_appendFileContent( $destinationFile, $sourceFile)
|
|
|
| Throws |
- \FileNotFoundException
|
Arguments
_copyCustomHtmlDirectory
_copyCustomHtmlDirectory(\ThemeId $themeId, $directory, \ThemeDirectoryRootInterface $destination)
|
|
|
| Throws |
- \FileNotFoundException
|
Arguments
_copyCustomJsDirectory
_copyCustomJsDirectory(\ThemeId $themeId, $directory, \ThemeDirectoryRootInterface $destination)
_copyCustomStylesDirectory
_copyCustomStylesDirectory(\ThemeId $themeId, $directory, \ThemeDirectoryRootInterface $destination)
_copyMainThemeDirectory
_copyMainThemeDirectory(\ThemeId $themeId, \ThemeDirectoryInterface $directory, \ThemeDirectoryRootInterface $destination)
_copyMainThemeStyleEditDirectory
_copyMainThemeStyleEditDirectory(\ThemeId $themeId, \ThemeDirectoryInterface $directory, \ThemeDirectoryRootInterface $destination)
_copyStyleEditThemeDirectory
_copyStyleEditThemeDirectory(\ThemeId $themeId, $directory, \ThemeDirectoryRootInterface $destination)
|
|
|
| Throws |
- \FileNotFoundException
|
Arguments
_copyThemeDirectory
_copyThemeDirectory(\ThemeId $themeId, $directory, \ThemeDirectoryRootInterface $destination)
|
|
|
| Throws |
- \FileNotFoundException
|
Arguments
_copyThemeImagesDirectory
_copyThemeImagesDirectory(\ThemeId $themeId, $imagesDirectory, \ThemeDirectoryRootInterface $destination)
|
|
|
| Throws |
- \FileNotFoundException
|
Arguments
_copyThemeJson
_copyThemeJson(\Theme $theme, \ThemeDirectoryRootInterface $destination)
_endsWith
_endsWith( $haystack, $needle) : boolean
Arguments
Response
boolean
_getRelative
_getRelative(\ThemeDirectoryRootInterface $directory)
_saveMainTheme
_saveMainTheme(\MainThemeInterface $mainTheme, \ThemeDirectoryRootInterface $destination)
_saveTheme
_saveTheme(\ThemeInterface $theme, \ThemeDirectoryRootInterface $destination)
|
|
|
| Throws |
- \FileNotFoundException
|
Arguments
_saveThemeStructure
_saveThemeStructure(\MainThemeInterface $mainTheme, \ThemeDirectoryRootInterface $destination, \ThemeInterface $childThemes)
|
|
|
| Throws |
- \FileNotFoundException
|
Arguments
_stringAfter
_stringAfter( $searchFor, $subject)
_stringReplaceFirst
_stringReplaceFirst( $search, $replace, $subject)
copyJavascriptExtensionDirectory
copyJavascriptExtensionDirectory(\Theme $theme, \ThemeDirectoryRootInterface $destination)
|
|
|
| Throws |
- \FileNotFoundException
|
Arguments
replaceCustomInPath
replaceCustomInPath(\StringType $path) : string
Arguments
Response
string
Saves the given them to the destination.
save(\ThemeInterface $theme, \ThemeDirectoryRootInterface $destination) : void
Properties
sourceThemeId
sourceThemeId :