/** * 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; }
/** * Returns the theme dir. * * @return string */ public function getThemeDir() { return $this->kernel->getThemeDir(); }