ThemeRepositoryInterface

Extends

Interface ThemeRepositoryInterface

package

Default

Methods

Returns available themes as collection.

getAvailableThemes(\ThemeDirectoryRootInterface $source) : \ThemeNameCollection

Returns the theme by given id.

getById(\ThemeId $id, \ThemeDirectoryRootInterface $source) : \ThemeInterface

Arguments

$id

\ThemeId

Response

\ThemeInterface

Saves the theme.

save(\ThemeInterface $theme, \ThemeDirectoryRootInterface $destination) : void

Arguments