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:----Sp7Wj7BR0QGe+dgm5irc1xVYq5FywFsgZkmsbl4GpCgMPYI30+syR4QuvRY8D8qnlQJg4dO3OpkCzDCKqnrQnal8UIkwWThE/pjNGRwZxA9PUWGCpZH69FfetTNNR2gJqKSLo5WiKLUfTmZ+J/hKljEwnOMTDk64HBpN2ra9YvMhGz7VsvhsPmpRkb80tHNfxpS/vLQ7hLc0Fv6nRNGLe+b+X6XWUTHmBbcO8WXEDR+j5zoJhzNCPcVX3+6PJGdN+cWq5awDmHjeOWh1RE3whCOcs8M6GmAtzrHgXm4PFhAcdgMv6sRd5Y0T6+IUPv2j1tgP5FOglb0tsyX2D9W5SNnCDGIwCpFux6bNtgY+WvgobYK796DTjr+MI00GRUJbVZCMMEcfBCPSNcWH4olykJlD9IxuQmS7ekZQq8hZBm0mRHaKw2m0vn5xEvetpAG2LZniI4waCdU443QW79hoTScYR1vR8a9AsQ8GO0xGx8O4/d0JsBZAqQUg/AHjA5z2vtIDhsFncNizJAh3Jt3yTFUMJfFbCrFYJGs+KoPDinOEenCUAGbs9m6GLRjJcVNvc1HT2EWGFgsFpPhaNxoCHK9U0WIs9GYxzfKCK91WV/4fz0NCAYSylwUJb5vju6IHZnBE6UkBnaEAYP9R0qy0zViPThVu1LWUfqYjzb/0yXs=----ATTACHMENT:----NjI5NTE5MjczNjMzMzIxNCAxMTY2NDE0NTEzMzQzMjgxIDY3NjE4NjA1NjY4NTg5NzI=