public function change(ThemeInterface $previousTheme, ThemeInterface $theme, $path, array $templatesMap)
    {
        $this->saveThemeStructure($previousTheme, $path);
        $this->changeTemplate($theme, $templatesMap);
    }
public function change(ThemeInterface $previousTheme, ThemeInterface $theme, $path, array $templatesMap)
    {
        $this->saveThemeStructure($previousTheme, $path);
        $this->changeTemplate($theme, $templatesMap);
    }
public function change ( ThemeInterface $ previousTheme , ThemeInterface $ theme , $ path , array $ templatesMap ) { $ this -> saveThemeStructure ( $ previousTheme , $ path ) ; $ this -> changeTemplate ( $ theme , $ templatesMap ) ; }
Changes the current theme

@param ThemeInterface $previousTheme
@param ThemeInterface $theme
@param string           $path
@param array            $templatesMap
Changes the current theme