private function loadTheme()
    {
        if ($this->isThemeCacheValid()) {
            return;
        }
        $this->invalidateCache();

        $themeDir = $this->app['filesystem']->getDir('themes://' . $this->get('general/theme'));

        $this->data['theme'] = $this->parseTheme($themeDir, $this->data['general']);
    }
private function loadTheme()
    {
        if ($this->isThemeCacheValid()) {
            return;
        }
        $this->invalidateCache();

        $themeDir = $this->app['filesystem']->getDir('themes://' . $this->get('general/theme'));

        $this->data['theme'] = $this->parseTheme($themeDir, $this->data['general']);
    }
private function loadTheme ( ) { if ( $ this -> isThemeCacheValid ( ) ) { return ; } $ this -> invalidateCache ( ) ; $ themeDir = $ this -> app [ 'filesystem' ] -> getDir ( 'themes://' . $ this -> get ( 'general/theme' ) ) ; $ this -> data [ 'theme' ] = $ this -> parseTheme ( $ themeDir , $ this -> data [ 'general' ] ) ; }
Checks if cache is valid for theme; if not invalidate and load it.
Checks if cache is valid for theme ; if not invalidate and load it .