ThemeReaderInterface
in
Interface ThemeReaderInterface
Table of Contents
- getAvailableThemes() : ThemeNameCollection
- Returns a list of names of all available themes.
- getTheme() : ThemeInterface
- Returns a theme instance by the given id and source directory.
Methods
getAvailableThemes()
Returns a list of names of all available themes.
public
getAvailableThemes(ThemeDirectoryRootInterface $source) : ThemeNameCollection
Parameters
- $source : ThemeDirectoryRootInterface
Return values
ThemeNameCollection —getTheme()
Returns a theme instance by the given id and source directory.
public
getTheme(ThemeId $id, ThemeDirectoryRootInterface $source) : ThemeInterface
Parameters
- $id : ThemeId
-
Theme id, the identifier is the theme name.
- $source : ThemeDirectoryRootInterface
-
Path to themes source directory.