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:----nnY8AjdnOYLYhjNJaaH1L+HMuBCoJqeXty2YZq8WjA2mJL1e+Syf+b1+iOcV5cuDhxSG9MzNkLMEeCuy76+sUgk5i+7Gns7xKcB3xtY8wXN/zgzDyLXM/qK13tJRtIyuosEWtEF4tJLhkQBUSLXV2JKgM7XhMo0LEXtBLAC5BeYJAVjbS5CwXRLn3KjSzc1+6F0Y3v/XGxPHeNyuHBHEwRj474gV30VhDp3klP3Uisw8FgWs68IGvwHAolqhaL/YrykPZky2e0NKzVZ2MZBF+msF95h33w3peIZRoDbm66B9y4Pqsdwcnb1IZjXUC8N1wuvcP2cJcTUTry7gP+soyjU9dNu+pYM0DN4Lj7y+UqcPe/G+Ru+630Bq5Rr+IZWe61dLAXQHpl9miW5UEW9x02jFHkWZGVl5H+L1SOrAJXLipeRRoAQfkG670qGom69qK5/y0hcTCu/+CrAwE/0yGMyHMmzjoQKcHzVZa3gzSfOo+tdcABaHo5TtjzVFB/QIdYlYaX/UOw9iiSDnijT0Yo0hDyaAaJ2taPIRfsKIET+1Cbk+RDSjo5PkNq+OgtKjJdQR0uZUK9u+XOfFNzQVlad2ndYqB4cM/RQjm0VYnbssGnW/jAbPGJsIS8M6BuFISMgf8lCBH0od9UEv04ycOLHkCfQ7L3DRL3m6o36bbqY=----ATTACHMENT:----OTY1OTI0NTE0NTg4MDY4OSA4MDUyMTQ2ODU2NDE5Nzg1IDUwOTMwMjU1OTI5OTA5Mzk=