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