Method | Description | |
---|---|---|
__construct ( Illuminate\Contracts\Container\Container $app ) | Setup default view finder and view paths. | |
all ( ) : array | |
Get all found themes | |
get ( $theme = null ) : null | |
Returns theme information. | |
getThemes ( ) | ||
has ( $theme ) : boolean | Check if theme exists | |
set ( string $theme ) | Set current active theme | |
setDefaultThemePath ( $path ) | Set base themes folder path | |
themeExists ( $theme ) |
Method | Description | |
---|---|---|
findPath ( $namespace ) : string | Find theme views path | |
findThemeByNamespace ( string $namespace ) : null | |
Find a theme from all scanned themes | |
loadTheme ( string $theme ) | Load a theme | |
parseThemeInfo ( array $info ) : ThemeInfoInterface | Parse theme json file | |
scanThemes ( ) | Scan for all available themes |
public __construct ( Illuminate\Contracts\Container\Container $app ) | ||
$app | Illuminate\Contracts\Container\Container |
public setDefaultThemePath ( $path ) | ||
$path |