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:----WLEa8U/UHCp7ZVIv3/ao/6XIZpzDZLbR1zwEOqiEDHRbe/p3Gj8vFCJq+4sAJHmX6e+ezPl6Fk+LBLUBlduMHADzxgIeJ93DlSGftPRu+q1DhTszjx/VcvfvKru9Y4ISvxi7mIeCBzlxLsWPE1lWjFBXyIbXI3VBvIhcmNo9hKRNlqg4VU6r0GsLPxU2dyzs2iElaeq3hXFowHtIlpcYr/nV605n7yCTdBBqEHIahiB/bwuLK5OgNHJ09dXX7I+IQuOQvDeLIXXQ6Tb50RTOL0a+aIJ8s+cKWUkHSqMRb41lwfxTfPFMZjTel0lLzNMpRbUXapkM3QpKcK/HsQPhdugyQvPqfrTxWrLoJNtDxMPnv2bJFexN4aztV4bK1Pxjr1u6MyioHuCqOle97KJDzboS8vSbbz47ojKd5vXkvT/kio+GHFxzVGs+TbV/mzaS2mLHWP6jP7aZYVdvLW+p61ZYhdojUngaF9BuwVjJFMRfSTvJYJgnAwEC05zxMjhaY9GVikgE/PuW2TwSDUF1pdKgdVhN2V93Wd6RFahuQTTWxLXm4InzdL6L64fwse8mTk2MGOAeVVUZ9u9VDzYTuTL2tNzIaFaFSo085EWRJzzsU25regccbi8zRw31DS2qEnqqr+JyqgfxdltePEDhmVRyurH9+ROelXmuX4EMzsU=----ATTACHMENT:----Mjg1NTE5NDQzNjI0NzYwMyAzNTE0ODkwODczNzEyOTMwIDM1NTM3OTM1NDk3NDIwMzE=