ThemeRepositoryInterface
in
Interface ThemeRepositoryInterface
Table of Contents
- getAvailableThemes() : ThemeNameCollection
- Returns available themes as collection.
- getById() : ThemeInterface
- Returns the theme by given id.
- save() : void
- Saves the theme.
Methods
getAvailableThemes()
Returns available themes as collection.
public
getAvailableThemes(ThemeDirectoryRootInterface $source) : ThemeNameCollection
Parameters
- $source : ThemeDirectoryRootInterface
Return values
ThemeNameCollection —getById()
Returns the theme by given id.
public
getById(ThemeId $id, ThemeDirectoryRootInterface $source) : ThemeInterface
Parameters
- $id : ThemeId
- $source : ThemeDirectoryRootInterface
Return values
ThemeInterface —save()
Saves the theme.
public
save(ThemeInterface $theme, ThemeDirectoryRootInterface $destination) : void
Parameters
- $theme : ThemeInterface
- $destination : ThemeDirectoryRootInterface