ThemeDirectoryRootInterface
in
Interface ThemeDirectoryRootInterface
Table of Contents
- getPath() : string
- Returns an absolute path, which represents a theme directory.
- hasPath() : mixed
- withPath() : ThemeDirectoryRootInterface
- Appends the given path to the internal theme path and returns a new ThemeDirectoryRootInterface instance.
Methods
getPath()
Returns an absolute path, which represents a theme directory.
public
getPath() : string
Return values
string —hasPath()
public
hasPath(string $path) : mixed
Parameters
- $path : string
-
path to be checked
Return values
mixed —withPath()
Appends the given path to the internal theme path and returns a new ThemeDirectoryRootInterface instance.
public
withPath(string $path) : ThemeDirectoryRootInterface
Parameters
- $path : string
-
Path to append.
Return values
ThemeDirectoryRootInterface —New instance.