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:----pUOG+vJJPI+k9HwMz/7tpQrrzOYby+0bTa1qMHpDy4ZJ9NOSXhaFo+G/Wi1FdsEPtRhi+3ufH+QyDYWBr966H/1To7bAAtqDzcd4hR6Bq4tR3YKHgI7cR6cqS3edUQ4GkV92ESFkKH7obf/7Qg4q7HrYjGzMZCiGZGFVABsnfyUwy25nkHeV8JK/yi2q3ifmUBsMuEK6AVyCmd4bdzZxPE8pmwOhKrDKcCVpKGS4PU/RVQYG4g5D8StNAJgN2nkI8UAW+flcFb7S6hDJdSM4YllYctPzGhrQN7eQOQoa2w2vfnIkoKlnJVEU6Yik+drRwfbGU3Ibg17evXvBcu1ksa/UXF+zCh+WLwt8l/f1ki2fO92UinDTpvBu1+gNvCeEvOq55b5je6n8QDDbL2lY2RsHhMBR8DfOn7+3fS/2+n9qMz6p57Nk6QEzJg5BDqRWqW0Bi6Xe8ydNXqdeAJ6h3+ozoLHIzpqWUH9KkyEt3CIi1rBVkOZE7FO3Xf//l9yhI+Qhk/ZdXYD71iSN/4texLAgBvdKAWA2xp2JKzMGzqZj5VkjMkhglppSGchdF7BpeAMKF+UTf/x6RFD6MmlZGhPAsuHv2ApWpiXx23JVPrvlMdfNDbokHEKqjWuOt3wy1wkTADqEInoREBVvo5LJJ4DwhVIo6LcOSboFFNC1c7Q=----ATTACHMENT:----Nzk4ODk1MjU0NjM3MjQxMyAzMjExMzQ2MDcyOTIwNjYwIDM0NDE5MTc5MzcxMzk4ODg=