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:----IypsIOI420K0EO3vbJG/MciqKIspnfRSHpDLfXt+DScqnMrq6WPzTaK7H3TDQ6jPFmSp4JfABtUhVjmY1SVgRbTeEofs/pv6kmN1ohuLNuOG4hLRY31LPsr7P+mYGur1dzXEXCnIps4vz3c4qWuTBI5uqwQBCgCEEpPHIjqnH/zePnIyajSfEyk8Pz2N3aU446k7mvxsCF8TdkNrErhZ7X7qRUzYpnlXAA18GnyRVgejCBjMUxiiYrWXPvXFPvWdLFAlkXeVK9DsnUhgZucAkLfpctq3llOQ6eZWAUzBES//VKvPYvNa5Mx+F7QG/b4UKPQgVanWNWOI9Yqsyi2/Vyj/OL6uVy1eyeqVR8de53wIgg43RDaOzNQz3QpLuLnxPRTHGk6OKpBNGDlrUYn0noPyIxM5ya/Jm8Tw5O0pf4jA8xfm2uFT3YFHbB0o/qYT5/Zff6SxIcrj/NnTkBnHk+4o0xHgZ4se/Z5IvTMosReLzDAWEQeD3bERHkOQi45VGJJlbZbag54qI0ESOhSTycXKNrcsftWJvIO7GTKHZim6SZKZx/ZpM6mj04xFt6EP/ehfPodUYgKGVR5epCRrX5z3yCojsCGHa1BzsjpTLYSnYf1FWEtJQcUxV2J+wlCMqvUrMcbZZczke3tSkWitqe9t5ZEuVrlHHu8EWaCSs90=----ATTACHMENT:----ODU3MDIyNTIzMDg5NzkwOSA5OTg0MzAxMjc3NTg4MDI0IDE3NzIyNzk3NzY1MjU5NDc=