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:----KDodC9bYpgLfNrVHX/v527ShxAQNUDoMCgHJrhOjo9HThbjDsH3F5fdHRzqQKiNe0ACQoZ1MvJg+C9Nsa9uHXuhzmckMgk3BPdgjfiuAJlfsnFboJiWKY2mcsT8sFoIIlyG1KuiPYdUW88IxAB0nmgYNlby49cbWtt53yhUFmwkt0fSy2fuj6vuaeTsdk5xhezXOwjADoL4c2rgChTSiE3dc9cnsnoN3sAQlaahF4wI7qFVUru6yKxU+/erBIj3Z/IDnPbxOdyUpcUgM89Ix/iT+sIY88O64AfQCXqoLqPutD5+OLlCrSabVUqsHdluUTl1QzcnjNUPaWS9ec8SzeOffVXZ/nQ+yvTvMJDf4yeeX3aSMI9NR3ozbZQUElGRy6IG/sgruoccDevzTsG60F8MMv2BxlcqPRmIsp6oS1DWpr3fG4Mt1qNebZObRusqjhfPj/Oh4kRGEKGsWnIAXOyTMOJOAxLlRdrZceyuSMQCrB4tDrjZXSbV4bePoWhkaqX9p86W7LUBmUGClyBsEgGfx+Vf+wRuxerGbtQyIFBCf8nv9goDe0Gb7RcXmM/z34JNVzOZFkuIpeh9HONiV+E/mFWl8uSiUO0DPHsXgEh7IaOCRShcxuajsy6xfHOJuk6DTWtzusCM37N1ao5V/0jGQhzgXWBzvz2g9Pfdbty0=----ATTACHMENT:----MzQyMTk1NDkzNTM5MDU1NyAyNTk4OTI4OTE5NzAzOTggMzI0MzMzODc3MDQ5OTA1Ng==