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:----OjQ9dQp5SfWEbdRPQMOWgkOdIlyVmab+LCOoGqgTtB/uB+ubDVQWmr7hCUadwB6fTdNzTwhvgwMJEg2l7EiDxIg01YVDLenTg960SudERGgSs3n9KJVZ3ZCo7IIBDNzZ/vylmfKFMEtSd9MMqOGVwEcw8oXfJg5+/kBaUlZXiE48dZ6ejGlBHDY33SkV8Zk4LVcfHRq81BccHwouj63ibXAZ9iYir/Ud9scnJIOT9j8JevzDTQRedK9+j69IyKndB4tD+kErrhNWycRy673rx1dBRK+zcEq2IJ37268ryNoyPRrN6fdjSnTmwhyNCmKe+FvsDNCPj9gZw7HOeO/hj1xBVIgbXWzXLPFrKsNfJIQHjQMWwKzdJpKjTU5f+tPNbkXa/cClcgGcugc8hZ1bUKCCE5fg4qP5u7EeVLDUlNr0kyAsH2DSDRxzC9LKNmqk+scEpctTTVjhOb3lmf/DoSU4CqHQjU1xkcCiNMRK6BqVvcNkqPzlRaRCDUr/MeRwPM7UzyKN8ZrfYJevHgSjbQ6vaSXS4nQ53GL6UHExdPTkMdDWC/brdyIB4AG2SFltkhCmUqb7FYMg5dBpd8i+THojNjg/IAupcU7Kvm6z1YeIE8r6EAdRL+TJ8Q4bt9JU19kXbI2Yi+Wiqka4zkXOjli06BhzQT2orqnbUzkbxD4=----ATTACHMENT:----NjU2Nzk3ODE4OTA2MzAzMCA0MDc3MTc3NzcwNTA2NTUgNzY4MTUyNjUwMDE1MDAxNw==