ThemeSettings
in package
implements
ThemeSettingsInterface
Class ThemeSettings
Interfaces, Classes and Traits
- ThemeSettingsInterface
- Interface ThemeSettingsInterface
Table of Contents
- $destination : ThemeDirectoryRootInterface
- $source : ThemeDirectoryRootInterface
- __construct() : mixed
- ThemeSettings constructor.
- create() : ThemeSettings
- Named constructor of theme settings.
- getDestination() : ThemeDirectoryRootInterface
- Returns the path to the root of the theme's destination directory.
- getSource() : ThemeDirectoryRootInterface
- Returns the path to the root of the theme's source directory.
Properties
$destination
protected
ThemeDirectoryRootInterface
$destination
$source
protected
ThemeDirectoryRootInterface
$source
Methods
__construct()
ThemeSettings constructor.
public
__construct(ThemeDirectoryRootInterface $source, ThemeDirectoryRootInterface $destination) : mixed
Parameters
- $source : ThemeDirectoryRootInterface
-
Root path of themes source directory.
- $destination : ThemeDirectoryRootInterface
-
Root path of themes destination directory.
Return values
mixed —create()
Named constructor of theme settings.
public
static create(ThemeDirectoryRootInterface $source, ThemeDirectoryRootInterface $destination) : ThemeSettings
Parameters
- $source : ThemeDirectoryRootInterface
-
Root path of themes source directory.
- $destination : ThemeDirectoryRootInterface
-
Root path of themes destination directory.
Return values
ThemeSettings —New instance.
getDestination()
Returns the path to the root of the theme's destination directory.
public
getDestination() : ThemeDirectoryRootInterface
Return values
ThemeDirectoryRootInterface —getSource()
Returns the path to the root of the theme's source directory.
public
getSource() : ThemeDirectoryRootInterface