public function needsRebuild($cacheFile)
    {
        $needsRebuild = true;

        if ($this->serializeCache->exists($cacheFile)) {
            try {
                $needsRebuild = time() - $this->ttl >= $this->serializeCache->mtime($cacheFile);
            } catch (\RuntimeException $e) {
            }
        }

        return $needsRebuild;
    }
public function needsRebuild($cacheFile)
    {
        $needsRebuild = true;

        if ($this->serializeCache->exists($cacheFile)) {
            try {
                $needsRebuild = time() - $this->ttl >= $this->serializeCache->mtime($cacheFile);
            } catch (\RuntimeException $e) {
            }
        }

        return $needsRebuild;
    }
public function needsRebuild ( $ cacheFile ) { $ needsRebuild = true ; if ( $ this -> serializeCache -> exists ( $ cacheFile ) ) { try { $ needsRebuild = time ( ) - $ this -> ttl >= $ this -> serializeCache -> mtime ( $ cacheFile ) ; } catch ( \ RuntimeException $ e ) { } } return $ needsRebuild ; }
Indicates whether the serialized cache file needs to be rebuild.

@param string $cacheFile
Indicates whether the serialized cache file needs to be rebuild .