PHP Class WellCommerce\Bundle\ThemeBundle\Context\Front\ThemeContext

Author: Adam Piotrowski ([email protected])
Inheritance: implements WellCommerce\Bundle\ThemeBundle\Context\Front\ThemeContextInterface
Show file Open project: wellcommerce/wellcommerce

Protected Properties

Property Type Description
$currentTheme WellCommerce\Bundle\ThemeBundle\Entity\ThemeInterface

Public Methods

Method Description
getCurrentTheme ( ) : WellCommerce\Bundle\ThemeBundle\Entity\ThemeInterface
getCurrentThemeFolder ( ) : string
hasCurrentTheme ( ) : boolean
setCurrentTheme ( WellCommerce\Bundle\ThemeBundle\Entity\ThemeInterface $theme )

Method Details

getCurrentTheme() public method

public getCurrentTheme ( ) : WellCommerce\Bundle\ThemeBundle\Entity\ThemeInterface
return WellCommerce\Bundle\ThemeBundle\Entity\ThemeInterface

getCurrentThemeFolder() public method

public getCurrentThemeFolder ( ) : string
return string

hasCurrentTheme() public method

public hasCurrentTheme ( ) : boolean
return boolean

setCurrentTheme() public method

public setCurrentTheme ( WellCommerce\Bundle\ThemeBundle\Entity\ThemeInterface $theme )
$theme WellCommerce\Bundle\ThemeBundle\Entity\ThemeInterface

Property Details

$currentTheme protected property

protected ThemeInterface,WellCommerce\Bundle\ThemeBundle\Entity $currentTheme
return WellCommerce\Bundle\ThemeBundle\Entity\ThemeInterface