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:----MdBMsIxo0Z9nzWYP6wHvB6N6n17RgAo5Dab9m/n2rljbpSg1BUwMe6TGgwA0opVgLGShYhZolGybqLNon1S3POQhsBb9j5+kQV/wI49PhFjO8VpzcqOud5Qh5PYL2CxN6WRC4GGL7cYwsmC13IpuUp/5UsSyy4tyVCxvAHHZEqepDmIqiJmTG4OV536lUJXSBLPx1y5xKxpPdk9pqv/ZSSyUAsTt1CIWUQjvHqYqGhq7LuY2cZWEqbEn+eVfJS8REDvZQVTC0XqWLB83009xdKTyGBAtf1SOLYSaxXvt1ZenUAnMGM10kyQI5mYnxjfiIYsEOo/eR7ftq/EJSoAur3KDdiycY8G9jVIzSirCk2yRXAirGk+eojRJOafnZBbGI7b/gQpldusBRi5NGWyqGWiKpA9KvcWmjdtmpmYUwfA0liUJ0rsr3fmmmD6ZxP3tGE2qFHSjNIcIeZuR4a4ppOlLYBzmMv8uO9YNFw5/7zpG4Jnkno1aHWQRCz0Qcucyo8ZY1ydxF8JQhIKhZ0olO/Umi2TZMM6B9JNd1Jw4udmCxqPliG7pmkaCBL45TH+Eedxr7RqPWWj5AFr5wtYTrcA93aYhqG9KuGdI+wYocGq5hDSH1tbEiyER9K2NOt+H8uI55UTMfxZBsVfiS7ahlQ7kO+B+94fo+UVoCx0QaZw=----ATTACHMENT:----MzA4NjI1NzkxODQwNzk5NiAzMTQwODU1NzUwNDU2NzczIDU3MjE4NzI5NjYxMjg3NDc=