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:----MUJqHBEUXCDpl9hGoU0F4U8MlbExJK3wNogRageYHK5dGip9BvPsOA25VzFG2gK+7Rl8ar3O8Y3QPVsrdBEgeKhPIvdw/mr/ngBh9c+Jr/jCzenQehxvOu9bFTNoDCaIBc44GhbnZQTUuwx4wcAO53y9uQr2squWF/T81JocVWkTbcALh/uwPCChhd5UTIGrgxgbT5R7y+6TwNZhfQlL1qNpdYOdMif6Q1qHp3PqDE0Q1qdgAbzn2wNn30s8xuxNCOgakWa2GEUCGrG4/VgX778E7vUEOGENQ/q9yE5J9MDBvhnBEqQio0dNMbBG15jSk2UCv9mNb+cS6H90GRHuFXgs5PYdcusqlGURdD1iLTAA2gO7MQqgMIT1QbNT5gwpVIv0rJJdjdkKuawjGxnTfu/aSnitPJncvGPHM4UsdB/kpRtQtIDAbKqHjfv2dt7wmNmyhKtQ6tbd4Zrhf5jyiCCQ0wHJC+syxA92b5vbYW1Oog9XYUi9wFiqJQUjQUbGXc4lnXFG8eLKSys3IxSj/93Ig/KrVT5/dmy7XTHd3Ty9Y9WBfI/ehQK+x+Rrtzra8YZ5TCa++KvPkzfEiWdJ6oa8+MWZywBzQQrE7lKMnP+CTrR+lDccKhWYzeRWGFcwJg9gFbAS4f77QDu6MVHLtzXsMsY3M81ZIIluybGXLw4=----ATTACHMENT:----MjQyMzI2NzIyODMyMDM0IDI2OTEyNjgwOTc3OTIzNjMgNjA3ODcxNjU3NzcxNDc4Mw==