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:----XlEWUIkp5sRdTNnGXQo894S+VDNK3E6MFGDrGiENjfb1XXyqywkEFIP+qUNtsKJbQmGbN51dmfX65ogrtZ19mvQj2nkkMIBpetKqOOy+DG4jVGQdGw25WI1sKzbbdI9DQk8zvHyX96hNIe95BLYDW1X4lIy5oe+5TmSIOKQfhy2OD04TxeW+iL1RcWjUvrWu4kuHnrZRdyA04xlEsFqYnYlkQ83QPE1wY4bsXp7fU3SUftSgs7zmrbJQxsUtansN0p2y1RiNOLPew+l92/VUhgrmFJzx7cMMuEVyLxXCVTuNinkNXErinF9f5iZPAJyeBNSC+v65p2Klo3R0xn3mbt+/Oc9vFDEKsH9AY0PxbRpBcnW/VP/fk2vF0K8v0WVxiJZVyVgCs2X1yu+E9Vdn32JwQH8681yyiBQY2++OxQPL03JcFbDopUzrOPJgbotHMFmbSW52SS0pgPYFODwC60m/dkkcfU9U+4vts9e1bf5nDFEcatrxTvVONc2M6a7z+nY3Zh7+eDHgpFspKsRpyij1pnHNeafpRCW2q9DUV5ldfoscxhmrvzw/PKfeBJzlpcrmI9c6g2Lep2mva5IXTbuvGFR4kMhoT61Lyk5ULhdIEC0gQIxLu5nBbQr8mVUFrq0pBhQDji9uK+IAL83kMw9PRSzXsCrYU+4P1fOgdVc=----ATTACHMENT:----Mzc3NDA3MjkzNTE2OTUyMyA3MzczMzE0MzQ5NTQ5NTc0IDM3Mjg5NDkwNDg2NDkxODU=