protected function saveAllKeywordsToFiles($lastUpdate = null)
    {
        if ($lastUpdate === null) {
            $lastUpdate = time();
        }

        $this->saveKeywordsToFile($this->whitelist, $this->whitelistCacheFilePath, $lastUpdate);
        $this->saveKeywordsToFile($this->blacklist, $this->blacklistCacheFilePath, $lastUpdate);
    }
protected function saveAllKeywordsToFiles($lastUpdate = null)
    {
        if ($lastUpdate === null) {
            $lastUpdate = time();
        }

        $this->saveKeywordsToFile($this->whitelist, $this->whitelistCacheFilePath, $lastUpdate);
        $this->saveKeywordsToFile($this->blacklist, $this->blacklistCacheFilePath, $lastUpdate);
    }
protected function saveAllKeywordsToFiles ( $ lastUpdate = null ) { if ( $ lastUpdate === null ) { $ lastUpdate = time ( ) ; } $ this -> saveKeywordsToFile ( $ this -> whitelist , $ this -> whitelistCacheFilePath , $ lastUpdate ) ; $ this -> saveKeywordsToFile ( $ this -> blacklist , $ this -> blacklistCacheFilePath , $ lastUpdate ) ; }
Saves the internal black and white lists to files.

@param int $lastUpdate The timestamp to use or null to use time().
Saves the internal black and white lists to files .