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:----qPUimQPy0zRB/1NKCBaQOsrTXiXtzVyMmKFaADSbyZo1VT4PF/hbrqMPe8XgRbMQ0t4BLDQ9qghld7ojnoxLPjBiARsdctU0YzPfsALzUYXEaKVssaxNfNTheZsz9DbRA8iOWTw89ae/Ojc7H1bxO8zXqxQawKVcxeUwRV+Bt74GJtT9r5Xyix09mxjeJ7okYb3RP7lp7PU2/pJAdyzNFip9qB0TsQPtktkKDFI2tWF8koPUWXa3iuvvKxlb1+8oyroH95KRM9zIIBWpgfjzwJ+nVKXMhxg31VWdmOksIX7uLY+ldesIDvdo0Z/cHQf4+1w8q6Uro/d/NwSv4TdLaZPhB53MlxLS5suz4wf/3CrI9pSNw1jpqdnBkeqDixlnQvPsVM8nqdnvqV8oqINYWPJ12N4XFzkV3WwUZrF+1spjG3iSqa8+U9FXVkI2uXh4KFHYAyKiz8wy+63K8c0GuTHVHyWYHmf8y+7qQG1WibdXIvpcUTdZw3tpmwUtzlr5E0ZJ7eS5IfVcA3Evtu8KKkiaBChbZ8bRoyFJHBuyDDfS2IBplts1RXMOBiKhN5SIJhZ9Hi4wDYwqETIt4ZA/qDsWbVnbqQ4FNWguv2/AiLIgoU2ns80PA93VG0uFWERHYwpksjw3NVxC0iiaKeAtOKdPBaV0hJh8pVS0d44q/rA=----ATTACHMENT:----MjU4NDM3NDM5NDgyNTI4MSAyMTA0MDU5MzU5MTIzMTUxIDMxMTY3Mzc0MDE4MzAxMTc=