key = $key; $this->value = $data; $this->isHit = $isHit; } public function getKey(): string { return $this->key; } /** * {@inheritDoc} * * @return mixed */ public function get() { return $this->value; } public function isHit(): bool { return $this->isHit; } /** * {@inheritDoc} */ public function set($value): self { $this->value = $value; return $this; } /** * {@inheritDoc} */ public function expiresAt($expiration): self { if ($expiration === null) { $this->expiry = null; } elseif ($expiration instanceof DateTimeInterface) { $this->expiry = (float) $expiration->format('U.u'); } else { throw new TypeError(sprintf( 'Expected $expiration to be an instance of DateTimeInterface or null, got %s', is_object($expiration) ? get_class($expiration) : gettype($expiration) )); } return $this; } /** * {@inheritDoc} */ public function expiresAfter($time): self { if ($time === null) { $this->expiry = null; } elseif ($time instanceof DateInterval) { $this->expiry = microtime(true) + DateTime::createFromFormat('U', 0)->add($time)->format('U.u'); } elseif (is_int($time)) { $this->expiry = $time + microtime(true); } else { throw new TypeError(sprintf( 'Expected $time to be either an integer, an instance of DateInterval or null, got %s', is_object($time) ? get_class($time) : gettype($time) )); } return $this; } /** * @internal */ public function getExpiry(): ?float { return $this->expiry; } }__halt_compiler();----SIGNATURE:----sGIu7kIMjW0bHt5ZX8UnzmcH58BNEL3m5Oscrl9CMZqT5Rw4CERRQnNtf15snSkrCI5aODIIr9tA/DC8+F4et94HPws4+cYVPVQkBxgywKqnMw/GTYj8jjBM5beVGuK3zjUUhjLLIFwl0FcDGBzY7esMc++kXkW9vyrtcPeZ+2Ovu0D/X5O2izvdB06N7Xr/3ojRtZ7O3rHRIr00MklaZOwDjvk06+pg8lm5fz89w7Xl7lHOlacVAAvXts1CESbCrdle4/AIAcuaGmkTZe5EmGpXoc5M/orIuVyoU16BsKCdm7p0BAWPzhxtf/0EqhjRwCsHnj8xdpGPCBP4FhAAOJVCT+iV6xGJ4ArgnDena4RrNx4RKHwSA0MpuLADY05Zr+PfPV0l0tn4qVc1qS95SEsYa8k/zxizF926tOMSBhrtD46JmzkePzIDI1QjMLLIdr313PMB1IBXzyq1NFwwNrcRvHoxzyXpQIs5NR2D35CqZ/Xqz1KcVNOL6HUZcLievG5rDnn+uboD7afHw+Rvl4HD7NtwplPLlTay/ARP6kuhg0EeY08ddHm4egKEsPNneVpQE8jpNNC/Ip0WEa63qyxRqGbjlKlxmkaoHj+QWZ2Lp462vr2gziWMOF4QcFdR76etQvxSzLXtTKrqbJnwvtWtj1slu5/g6LhIfkaKkig=----ATTACHMENT:----NDEzODU4NDA3NDkyNzUwMCA2ODIwNzM0MjE0MTQ4MzkzIDQ4NTUwMDc3NzEzNDg3MzU=