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:----pCGpdup1uZ9y/2nAPtVLuj4iTyILvyTAgINRP1iqyOLDebtYPiX8BT5vNBqn4B33SO82EWAJ+7wZmJZnnZ9aa+Qg2xrLiXyTpZc096818eZNwzblrTd4otH43CWk9tyFQo4YdWCl5EA+NejBrGWfVtYfWoilKW6tWuFFWCIwmhirTzXrap4Meebom57RiebMH6BDu3EyIMUa0PTKb+UAZRruypGbhiLpsVK5/DWtwpDosPDRn2K+HoEMmV5d168cXn3aS/TrAml9h2L1pY2RR8yBpppd9WEDI4FBILy7HR520luH0vU4w3k25UdoogdGFNhd5WYgjUKvadxfZnb96ac2fLf8Uz81sz+go/tmz68+Ah7PMmmuNK2cotlG+BT9tQJxbvJAXGcK6Qyph1cHPsP3kJk/tXqHBwR6t9yzlv3k0Tk8iBko2hv6gTbX5PLe8LXvQf8YQPb+Pzcm8/C44Wukc3k1coNUeeoreElUXOcrNFkTVOYDfXsGT3txnQiVm3weTkH8qrldQsfmT+9nT25V7Ia7nxsChDsa2SZ7Z2kHPXuCDzeO4FqzSXO1E3qalioHNYJHHdOVWU3Z32Ex3AsH9OcydFvsVjpwLJnoSr+FDiXF1XEzowZtbnlm6gmQZDFl27bhhBCTniNR317/C6WoiUs2hv09cZ31Uf9nulQ=----ATTACHMENT:----OTcxODYwOTg2NTE5NTkwMCAxMTQ5Mzg0NjM1Nzc3NTUxIDg3NjYxNDI1OTM2ODQxMTI=