ThemeSettings

Implements \ThemeSettingsInterface

Class ThemeSettings

package

Default

Methods

ThemeSettings constructor.

__construct(\ThemeDirectoryRootInterface $source, \ThemeDirectoryRootInterface $destination) 

Arguments

$source

\ThemeDirectoryRootInterface

Root path of themes source directory.

$destination

\ThemeDirectoryRootInterface

Root path of themes destination directory.

Named constructor of theme settings.

create(\ThemeDirectoryRootInterface $source, \ThemeDirectoryRootInterface $destination) : \ThemeSettings
static

Arguments

$source

\ThemeDirectoryRootInterface

Root path of themes source directory.

$destination

\ThemeDirectoryRootInterface

Root path of themes destination directory.

Response

\ThemeSettings

New instance.

Returns the path to the root of the theme's destination directory.

getDestination() : \ThemeDirectoryRootInterface

Returns the path to the root of the theme's source directory.

getSource() : \ThemeDirectoryRootInterface

Properties

source

source : \ThemeDirectoryRootInterface

destination

destination : \ThemeDirectoryRootInterface