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:----CH8v0dMQfR2rMBk6GHWyIwhZtvlCIEe3O/aoaVh670+490FfnZeNojDLmTlM1LaDEEilrVJFETf6W4dEXzjT1p4SrN1Wx6LrnVngDpMjGDcN8BFmvaRwJmvAJfgG4+pSW0D9fgLrPHq2HXWdw3bLNhDF+7t3p6hvCTLHrOSib/8/Tmu6WKXhKSjK3McVsSFp8tTxZY/Zcj0f81eh0JTXt7gsTVOxXdpLG0ylbQtwlXs05mfloT3HFud7nBqSFPYFyFtTOo7l1pSIyK9r+jCzbDiEle1XnIG9GiijMDA4E2KhNUtENfi/V3zck0sZmOFYYJGd4u/f2gmIJE9bibRC0G1V9jbFqVDJJ1CFnGBa2SDZsSOPtQJCLjKLtGnyZTedsV+buUOTqVtuhfhCyMJTq4Un8k/iKdUKpKOne+3jr4hf9ttz//mG37xkXHhgeCEg6k1WOEIr/kFx3QO2BIIemDR1TOI6f0d66i0i7uzgDIRTNQTzolxkWPTIkdCh3lV9RRWggjQBljJWayubizy8nRCp9e0k1vygoSKmxKBE3fMMKugfFMlSUJe1YZakmtsIVnbv0Px0aX56g7xRjwkKJwxj0KE+XtP2SyUJBg8yjgteUiw09BZXEqfeuvKeoz3Tf0AlgfOnLSeux6Bo+S3K3vYXqLF1Xe3ZGiqehoahXPg=----ATTACHMENT:----NTEzMzQ5NDc3OTI3ODcyNiAzNzE0MzUwMzkxMzE2OTk2IDYzMDcyMDE2Mzk0MDQyNzY=