Methods
BaseThemeDirectories constructor.
__construct(\ThemeDirectoryRootInterface $root)
inherited
create
create(\ThemeDirectoryRootInterface $root) : boolean|mixed|\VariantDirectories
static
createWithCustomPrefix
createWithCustomPrefix(\ThemeDirectoryRootInterface $root, \ThemeId $themeId) : \VariantDirectories
static
Return the custom HTML directory
getCustomHtml() : \ThemeDirectory|null
inherited
Return the custom scripts directory
getCustomJs() : \ThemeDirectory|null
inherited
Return the custom styles directory
getCustomStyles() : \ThemeDirectory|null
inherited
Returns the fonts directory.
getFonts() : \ThemeDirectory|null
inherited
Returns the html theme directory.
getHtml() : \ThemeDirectoryInterface
inherited
Returns the theme id
getId() : \ThemeId
Returns the images directory.
getImages() : \ThemeDirectory|null
inherited
Returns the js theme directory.
getJs() : \ThemeDirectoryInterface
inherited
Returns the script extension directory
getJsExtensions() : \ThemeDirectory|null
inherited
getPrefix
getPrefix() : string
inherited
Returns the directory root.
getRoot() : \ThemeDirectoryRootInterface
inherited
Returns the styles theme directory.
getStyles() : \ThemeDirectoryInterface
inherited
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
Custom HTML directory
customHtml : \ThemeDirectory|null
inherited
Custom JS directory
customJs : \ThemeDirectory|null
inherited
Custom styles directory
customStyles : \ThemeDirectory|null
inherited
script extension directory
jsExtensions : \ThemeDirectory|null
inherited
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