Habari\MemcacheCache::record_fresh PHP Метод

record_fresh() приватный Метод

Check whether a given record is still fresh (e.g. has not expired).
private record_fresh ( $record )
    private function record_fresh($record)
    {
        if ($record['expires'] > time() || $record['keep']) {
            return true;
        } elseif (file_exists($record['file'])) {
            unlink($record['file']);
        }
        return false;
    }