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:----mzldHSt5H+kXS9JlKCB+hZkoipiHBUHL45B2BVbd7tsvhQ370Cbi6eU5XLD5oe6aNBooRzz91mlnOGxH57Z/URevEOB/jlgMRRelnWmnx8TOTjC/MKlyrplHe1D+IsqfHT/XH96gn9jtBS/mQ5461iP+mXLR9ZlvE3oXV70MI5F0LLFIAaQvmzt03LE77/ZAaWdFLVUUHJFD4Xgpd12I23N7CnboVHY9p774JVkWD6oFdOcz0LYjJNQPAQLvjRShyG5w+ZLfpnQ0JO2MkoTgu0rPYqa+c0kHDZqDDepP8W0KiztVS5xtb2Ei57SpVWW96HwVnbdJjgSopKGMI5uwHpVW0ajFCG6QUNttP8iWKV++gJHq3QBGENd4HpXKDeaCXvPFtSv5TJi5fAUWtsn2i5R3bawOT6sYYU2bZXISjHGnc5QoWiIikjgUvu9X0RXgyqzMM16MYoSO9VODxnTIGFjb/V9pUvMn4/0XNxIfX7NEH7Ha6QMJuaPxlSnyPcupirY/1dMXg5pHvGtP/HK2Eg5b+Oo8h3ViCcXvLW+F/btAfMZb5d5p+Rvl3v77EbaM2m10/3j9LA7RpLjuO/ySUlmjaT2KodeZVhFpn6sm+KqnUDpDm6yH/0HDZILu37NJFKQQQfvLcB4//Tz1yUKEQ1gr/oFaSyqVIBor4zi0AqA=----ATTACHMENT:----OTIwODE3NjIwNjk3NTQ0NCA4Mzg4MzkwOTUyMDI2Mjg3IDc5NjgxMjU2NDYwNDcyODc=