main/core/Manager/Theme/ThemeBuilderManager.php
public function rebuild(array $themes, $cache = true)
    {
        $logs = [];

        foreach ($themes as $theme) {
            $logs[$theme->getNormalizedName()] = $this->rebuildTheme($theme, $cache);
        }

        return $logs;
    }
public function rebuild(array $themes, $cache = true)
    {
        $logs = [];

        foreach ($themes as $theme) {
            $logs[$theme->getNormalizedName()] = $this->rebuildTheme($theme, $cache);
        }

        return $logs;
    }
public function rebuild ( array $ themes , $ cache = true ) { $ logs = [ ] ; foreach ( $ themes as $ theme ) { $ logs [ $ theme -> getNormalizedName ( ) ] = $ this -> rebuildTheme ( $ theme , $ cache ) ; } return $ logs ; }
Rebuilds the list of themes passed as argument.

@param Theme[] $themes
@param bool    $cache

@return array
Rebuilds the list of themes passed as argument .