Author: Adam Piotrowski (adam@wellcommerce.org)
Exemplo n.º 1
0
 public function getCurrentThemeFolder() : string
 {
     if (false === $this->themeContext->hasCurrentTheme()) {
         return $this->fallBackTheme;
     }
     return $this->themeContext->getCurrentThemeFolder();
 }
Exemplo n.º 2
0
 /**
  * {@inheritdoc}
  */
 public function getCurrentThemeFolder()
 {
     $folder = $this->themeContext->getCurrentThemeFolder();
     return null === $folder ? $this->fallBackTheme : $folder;
 }