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:----nKAbRP4QwvZh9HpdBx367t3eSEyywwYVOfGvUd0uWdsQTxG1gjo7Mcl977soGUAwYQNYegnlUq9wp1zxS5B7wqlDOnY2JfFUD131/TjhIXpKtcvskzDU4QnRaO47pGszOg3wm0iVsRZSxJJbDCVuUEayVcAvrU3ZXwYinFW9ieIIIMwAWHUQP6IAbNkVckSbOTkDeSnByI52mdywz35OllJrEMdQB4Kwj+ZePWoJC2CSqcwEEIrTDExa8zfJolsOLuUtB1VIdGiwWZYpNYPhU3axCZ+8PMfpeNsYnKYOUeI3JjFodNlpwZPv3cXBBYXhDSti9TsKXhI1mlcVrz+tj6l5WPKKF3qBE2j4E5fhTg9FUpsZEr16Ttbg0Yn3dNWDaOWraWnbqoN9ttiV6FgHClN/ZbXGIXVy7M2mHxq0+vpU1su75ufMOdfOMWDxkFL9p2mvdpB8l4R9ubiJtUqkCRMI9DRhBEXEPE6rJ7a7u2/IHThpBQbhxMvCiGjrROHyrpmvKLlut8lX4inrK5ubn90wqkCxZ7NnnKwrgRzU4W4YmK9BiRH1njXqYlUx2x/SdPHV3z9QK+ghYm21S/DGZq0y6RdwXIM7Seu/uD9avvce3H+sEnI127s+k+ZmU0dFscw845xvnP5Pxd5SmXYTZsueJ0mWQ75fogahCpVCNFY=----ATTACHMENT:----MzcxNjM0OTM0NTM3OTY3MyA4MjMyOTI0Nzg1NzA2ODI0IDg4MDA5Njg2MzYwNjY3MTM=