protected function transformCacheAnnotation(Cache $cache)
    {
        return array(
            'expires' => $cache->getExpires(),
            'maxage' => $cache->getMaxAge(),
            'smaxage' => $cache->getSMaxAge(),
            'public' => $this->transformBoolean($cache->isPublic()),
            'vary' => $cache->getVary(),
            'lastModified' => $cache->getLastModified(),
            'etag' => $cache->getETag(),
        );
    }