public function setCurrentTheme($theme, $deviceType)
    {
        $this->lastTheme = $theme;

        $paths = $this->basePaths;

        // add active theme as Resources/themes/views folder as well.
        $paths[] = $this->path.'/themes/'.$theme;
        $paths[] = $this->path;

        $this->paths = $paths;
    }
public function setCurrentTheme($theme, $deviceType)
    {
        $this->lastTheme = $theme;

        $paths = $this->basePaths;

        // add active theme as Resources/themes/views folder as well.
        $paths[] = $this->path.'/themes/'.$theme;
        $paths[] = $this->path;

        $this->paths = $paths;
    }
public function setCurrentTheme ( $ theme , $ deviceType ) { $ this -> lastTheme = $ theme ; $ paths = $ this -> basePaths ; // add active theme as Resources/themes/views folder as well. $ paths [ ] = $ this -> path . '/themes/' . $ theme ; $ paths [ ] = $ this -> path ; $ this -> paths = $ paths ; }
Set the active theme.

@param string $theme
@param string $deviceType
Set the active theme .