public function saveCacheFile()
    {
        if ($this->store !== null) {
            file_put_contents($this->cacheFile, $this->createCache($this->store), LOCK_EX);
            $this->store = null;
        }
    }
public function saveCacheFile()
    {
        if ($this->store !== null) {
            file_put_contents($this->cacheFile, $this->createCache($this->store), LOCK_EX);
            $this->store = null;
        }
    }
public function saveCacheFile ( ) { if ( $ this -> store !== null ) { file_put_contents ( $ this -> cacheFile , $ this -> createCache ( $ this -> store ) , LOCK_EX ) ; $ this -> store = null ; } }
Writes the cache file if changes were made.
Writes the cache file if changes were made .