public function checkVersion()
    {
        if ($this->checkCacheVersion()) {
            return;
        }
        $this->syncAssets();
        $this->cache->flushAll();
        $this->updateAutoloader();
        $this->updateCacheVersion();
    }
public function checkVersion()
    {
        if ($this->checkCacheVersion()) {
            return;
        }
        $this->syncAssets();
        $this->cache->flushAll();
        $this->updateAutoloader();
        $this->updateCacheVersion();
    }
public function checkVersion ( ) { if ( $ this -> checkCacheVersion ( ) ) { return ; } $ this -> syncAssets ( ) ; $ this -> cache -> flushAll ( ) ; $ this -> updateAutoloader ( ) ; $ this -> updateCacheVersion ( ) ; }
Check Bolt's version against a cached key. If there is a change we flush
the cache data and if required synchronise asset directories.
Check Bolt s version against a cached key . If there is a change we flush the cache data and if required synchronise asset directories .