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:----M7cmpv1ZMBboJVd1Eye11azCAxwlFh2K7v4Jxbnsrzq9fhXp4yCulTnXiMw73GSTn6nrrxTIzhhDnZEtmbrxC3Gn4mqBpb+Gzo0uAwEoSX9TlnSg7jNmhZs1IpdgdMkaKPNDRW37feUQPveSLQ1wd1uyTc8nrVpjsB55YrZJYM4eKpqf7TjIGDYIjgUXsoP98O/SuMKMQIfFFf/KkJxXz+Y/gGpAznYkQppyT/6Iyk2/xYCeTyeH0sf8O16x9sXIwuM4MUa0hI5fRrWpqteiRbQTnBChxBVxlgm2yeVObylmQZ0bC3XxVyiSNEP6yG4TcyGPO/rVskEK7Zy/71KBMKQSp1MC/GWq2tCcZE+NveWr1C7nmHjYDBaQe7/y1Vy4iFd4eWp41erYg4bGWok5HwbXZPlQ0BUZWJtQ5GdtPHP2UQLlDp2IQIQzx6Ej2oCyP+CrPMbM028WJUgweF30+nm0vAw5+33DTwriKJlFkkk5Psssf2omhdoYJOvVxbmvFbySpPgIkh3DQJOZ/x0NDhl1nDwFg68xjU7PSlxtxsImGZcc6GjR4QSNZcwSOqUC0EzwmGG9qBHFh41e8GxiuDRNBzPrRc4zLjRFxncOWQJTmQmH5y7ia6Haa/ZyDDYFYt4te5YGUWwE6bVuArA77Q7ZAyvumUdBFvAiPjDcpJ0=----ATTACHMENT:----NTA3NTI2MzA1MzMxNDY4NyA4MzUyNTc3NTkyODk1MDE4IDgzNzQ3MDMwNDgzNzkzMDM=