public function __construct(Cache $cache, $key, callable $cachedCallable, Ttl $ttl) { $this->cache = $cache; $this->key = $key; $this->cachedCallable = $cachedCallable; $this->ttl = $ttl; }