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

saveToCache() private method

Saves a value to the cache.
private saveToCache ( string $cacheKey, mixed $value ) : void
$cacheKey string The cache key.
$value mixed The value.
return void
    private function saveToCache($cacheKey, $value)
    {
        $this->cache->save($cacheKey, $value);
        if ($this->debug) {
            $this->cache->save('[C]' . $cacheKey, time());
        }
    }