Exemplo n.º 1
0
 /**
  * Returns the paths to this theme.
  *
  * @return string[]
  */
 public function getPaths()
 {
     $paths = array();
     $baseDir = $this->kernel->getThemeDir();
     $themes = $this->getThemeHierachy();
     foreach ($themes as $theme) {
         $paths[] = $baseDir . $theme . "/";
     }
     return $paths;
 }
Exemplo n.º 2
0
 /**
  * Returns the theme dir.
  *
  * @return string
  */
 public function getThemeDir()
 {
     return $this->kernel->getThemeDir();
 }