Methods
BaseThemeDirectories constructor.
__construct(\ThemeDirectoryRootInterface $root)
inherited
Returns the config theme directory.
getConfig() : \ThemeDirectoryInterface
Returns the fonts directory.
getFonts() : \ThemeDirectory|null
inherited
Returns the html theme directory.
getHtml() : \ThemeDirectoryInterface
inherited
Returns the images directory.
getImages() : \ThemeDirectory|null
inherited
Returns the js theme directory.
getJs() : \ThemeDirectoryInterface
inherited
getPrefix
getPrefix() : string
inherited
Returns the directory root.
getRoot() : \ThemeDirectoryRootInterface
inherited
Returns the style edit theme directory.
getStyleEdit() : \ThemeDirectory|null
Returns the styles theme directory.
getStyles() : \ThemeDirectoryInterface
inherited
Returns the variants directory
getVariants() : \ThemeDirectory
Tries to create an instance of ThemeDirectory by the given root- and sub path.
tryBuildThemeDirectory(\ThemeDirectoryRootInterface $root, string $path) : null|\ThemeDirectory
inherited
If no directory was found, null will be returned.
Arguments
$path
string
Sub directory path.
Response
null|\ThemeDirectory
Theme directory instance if given path exists.
Properties
config
config : \ThemeDirectory
variants directory
variants : \ThemeDirectory|null
styleEdit
styleEdit : \ThemeDirectory
Fonts directory
fonts : \ThemeDirectory|null
inherited
html
html : \ThemeDirectory
inherited
js
js : \ThemeDirectory
inherited
styles
styles : \ThemeDirectory
inherited
images
images : \ThemeDirectory
inherited
prefix
prefix : string
inherited
root
root : \ThemeDirectoryRootInterface
inherited