WellCommerce\Bundle\ThemeBundle\Context\Front\ThemeContextInterface::hasCurrentTheme PHP 메소드

hasCurrentTheme() 공개 메소드

public hasCurrentTheme ( ) : boolean
리턴 boolean
    public function hasCurrentTheme() : bool;

Usage Example

예제 #1
0
 public function getCurrentThemeFolder() : string
 {
     if (false === $this->themeContext->hasCurrentTheme()) {
         return $this->fallBackTheme;
     }
     return $this->themeContext->getCurrentThemeFolder();
 }