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:----MujTj3JUISjPNI51FYHGXoEgm1hl+J4SaLzgY8rH1fUJjQ/i0eoNuzVfUn8rvT5R8/fgqCe2SSmZfIQaRRfyXWnBEVni2Tz4+wCe1FtVZjLu4pdd35aSutB1jWiUp8kwl5yUi/TPqpqDwsJxkChezc2kShHgbMFNGnWQJMHk9wADUXe+b7F5sAmMb3jnCVrW4+0+xKCutqnEoCNoN453oPE93cNzcSlIfnlfO57FJQ9i84ZFaneRp48q70hehHvxZHEY7WJnsrFKm0+LocF1wsqV6WaufBrqqRK4obsr/566ON40AXj/c/CwX8QW91Fttl3mioce+Q1RwY5JeIv9klPnOhccNCvOtp/p15Rix7ho4KZP+/Jn/xDPaG1/9mnhUnsyUT9rp4lqsiAT5Qgcm73181HHnvs+x0GK+CSShI/rgE5OmhVoKYKnGxJPHoNohjYt1Pd8YYYrn8jq0WZ9qIUJNdW7v9PuUeozpGHZN//o9YVI3sTAJHBaPex/yP0mq5aFPtab1lvd/bLO+RAOWng5cWsywT6Q6lMxddBgoDEoBYvuF9BUoyJXUaE3UrVz17nIiUB7wYEvfCaTnI0qXFPhG2YA7OLgfAHanDatDBxfUqdQFgy7tTF66ebxsZMV+XyVBPhqkZJDAGibO2T5EipvOmaOZxYkxqOjjVvMsNE=----ATTACHMENT:----NTE0MzExNjk5OTA3OTAwIDQ4Mjk1MTgxMzU4NjM4MzQgODE0MTQ1ODM0NTE1NjU2MA==