src/Kunstmaan/TranslatorBundle/Service/Translator/CacheValidator.php
public function isCacheFresh()
    {
        $fileDate = $this->getOldestCachefileDate();
        $stashDate = $this->getLastTranslationChangeDate();

        if ($fileDate === null) {
            return true;
        }

        return $fileDate >= $stashDate;
    }
public function isCacheFresh()
    {
        $fileDate = $this->getOldestCachefileDate();
        $stashDate = $this->getLastTranslationChangeDate();

        if ($fileDate === null) {
            return true;
        }

        return $fileDate >= $stashDate;
    }
public function isCacheFresh ( ) { $ fileDate = $ this -> getOldestCachefileDate ( ) ; $ stashDate = $ this -> getLastTranslationChangeDate ( ) ; if ( $ fileDate === null ) { return true ; } return $ fileDate >= $ stashDate ; }
Checks the caching files of they are even with the stasher content

@return bool
Checks the caching files of they are even with the stasher content