public function __construct(CacheItemInterface $cacheItem, Key $key) { $this->cacheItem = $cacheItem; $this->key = $key; }