PHP Interface WellCommerce\Bundle\ThemeBundle\Locator\ThemeLocatorInterface

Author: Adam Piotrowski ([email protected])
Show file Open project: wellcommerce/wellcommerce Interface Usage Examples

Public Methods

Method Description
getCurrentThemeFolder ( ) : string Returns current theme folder
getThemeFolders ( ) : array Returns an array of all theme folders
getThemePathPattern ( ) : string Returns path patterns to theme folder
getThemesDirectory ( ) : string Returns path to themes directory
locateTemplate ( string $name ) : string Returns a full path for a given template

Method Details

getCurrentThemeFolder() public method

Returns current theme folder
public getCurrentThemeFolder ( ) : string
return string

getThemeFolders() public method

Returns an array of all theme folders
public getThemeFolders ( ) : array
return array

getThemePathPattern() public method

Returns path patterns to theme folder
public getThemePathPattern ( ) : string
return string

getThemesDirectory() public method

Returns path to themes directory
public getThemesDirectory ( ) : string
return string

locateTemplate() public method

Returns a full path for a given template
public locateTemplate ( string $name ) : string
$name string
return string