Doctrine\Common\Annotations\CachedReader::isCacheFresh PHP Method

isCacheFresh() private method

Checks if the cache is fresh.
private isCacheFresh ( string $cacheKey, ReflectionClass $class ) : boolean
$cacheKey string
$class ReflectionClass
return boolean
    private function isCacheFresh($cacheKey, ReflectionClass $class)
    {
        if (null === ($lastModification = $this->getLastModification($class))) {
            return true;
        }
        return $this->cache->fetch('[C]' . $cacheKey) >= $lastModification;
    }