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:----NTtmEHupHWyoJihv34lefBvwasqWvx4JxdyfFg5AzJNQXMzrSYtw9lEcz6zcNZYxuknumDxEO/KOgcmfioxQMDPCX4NK/1Ij5cwnSY5TaDmy8Q8da6pZndIs4Cwk7d+u3iChT0HKm01y3jpZx2c+qEi4110y3G7VQ48uc/9JO91E+BYqDMlhy9Q6Rp9+twbMz7b/iNc+q8suG6JNl/53e0YsLcl+MfpZSboa2kfahawXXcZmc9yCLV1n62SMUGhm6iitJUEG+5LSWmyAg3Ov9VHaflUMJExrQ9hY9JVRE0MOOncDXpwE5w5EoiRIikAY2DIVgduIQSI77ytjl6d8o+XfB+jLZghmRf2bzyKw262aaf0SSfhqtKJDc4ZazyEHFEzPQD+Fpr5vr6iHvis2nl7pJMlPPbrMPgz60FIt334/IWA+SZCO6DpKIJ0/+AsiBfPzmb8f74DkSp5Xgf5lE90jl2c10iM35Xevkh7af2L78DDNGDDcF2dRhWnOzIinDHrtoxuVTHxtRkmjIeiH2Wnd9lEEc1wQFlrkmt3w0yeZYKG55dAx2huua/qg+m70eyfPBFPcMFJyFp+XSeyyMtPnVRtJlti7g9XdiPcs8p5H75gm+4TrTfaReZ2AHR7Flb97eVgX6rnXuMLCAKaZmI6oQdS6A48AfAVCVSPme6Y=----ATTACHMENT:----MTIxMTMwOTg0ODg4MDM1NyA5ODkzOTEwMjk2ODEyNDc1IDQwNzcwODAyNjE2NjM5OTM=