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:----ACrmuDg2lIX09O4p1lwMkG7n4p4JhnEmXC89s4+6fs7xgXe8tV9q3vX5mfqCbq5lhYm+m9WPHs29/f1BZot6paqbjYWCjnFLFi2exayIYJ3Cy/FkxEErwJMEbPPdicW5pCijyzp6Jck7c32//PHBRKvSaX1FELDMOZ/H7eQ/FlUnTrDPWBII5rT7LgvwcNSfQKse0Rk0pjozTexebtk9sp5Ogr6pHqA2O92yjcuwv22M8fApGmlszwSfCN7gS+4FslY76gbmpbCETbfE/NQav5yOR861I7IxwrnHsFRULJ3bhKtPlt+t2R+0XHuOsZNd6FwbGWkDarSo5suf4DkLtcepD2wd23GUH3hATH7I6Pbi3XWxqozxcxMl5aRdtz02/VzyQX+G40IrNnygrEucWHTzyPfiyRao+B3P/cBvAObjhZ7WayJCkeJnFIbPXicR/XPHt+bVqIFyNbdp11GCjJd7LwJmOTGky7mMs119D+MOzssz/43npoXFwXn6enHwBQfEhOxmhEWwUxGDkIdbJQh8xV/C9LpkTssrhwp7fIXROvJWkHKYhMRADR13VWU7PiumkkkvuNRY2r3XV4EMOHznls0CKaP7L0LRczmuKRaYqsdjNjbu1AWKbZz856NfoYGLz+mzIpuQifDkwQnPEyc5O9y7WxErZhWJnkXaPLI=----ATTACHMENT:----MTIxMzMwNjg2NDI0MTI4NSAyNjIxMTgyODQxOTEzNiA2ODk1NjI2NTQwMjkyMjU=