WellCommerce\Bundle\ThemeBundle\Context\Front\ThemeContextInterface::hasCurrentTheme PHP Method

hasCurrentTheme() public method

public hasCurrentTheme ( ) : boolean
return boolean
    public function hasCurrentTheme() : bool;

Usage Example

Exemplo n.º 1
0
 public function getCurrentThemeFolder() : string
 {
     if (false === $this->themeContext->hasCurrentTheme()) {
         return $this->fallBackTheme;
     }
     return $this->themeContext->getCurrentThemeFolder();
 }