public function getTheme($name) { $themePath = $this->getBasePath() . DIRECTORY_SEPARATOR . $name; $themeUrl = rtrim($this->getBaseUrl(), '/') . '/' . $name; return Prado::createComponent($this->getThemeClass(), $themePath, $themeUrl); }