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:----Rujkqkb6Cvyt3eO1GI0bgxaCxccVaeagk2q/1DcPzjkMkNVdFvmFhRQyrMd3NSTrzPYedzVJz18vxIgmhMa9a+7snqt2VtXdBEAJMcjTVqrXv/iFOA4I7Q4e5bcZ6lrAeInjrj0sMmvJzOXlEA/k2QAM5OOOhMPNfFjncqmABpjY+SoEKlm1gp/lGC0wu8/gHKEHEJE7Mf+dKaIuD6XFaHuj2+BjHYg/faSLmLOMynnU5E6VRhwtlB9j/P8ZwB45iP5qvVrkQOF2z7rcwkgDEXvRZ9i5AmtYGRtgnVGkyMP39lGb6u9nZrnc4Q8sAetHhMzJeLBGbLi6/KIpswQ/Kwe/l1r4BxA8FXEOtD0jc746UxA75eZsBiYrOD4l6Ak8pKMPrmm5p1UObYaRuI/dyk93HzOxDZzAZ3OAPhbdhCCMlu0U8Xl583+PXsJJwEUoAZODgxQdiuflZpgEc8z2FjXCxXnVcsqrQiUzWhCJfhbOQHSnw8ceHPPQJwFrLz9a+A0iC3wMVjK2rbzX0HNPCLztL2p1SbcyXr1zVQuhy0jMEe8Mdahw4Q1zeUF8hgQ50CuXJRoE4mi9rQw1bN5fiWb2D4dkRl82BXBSnC+THYlW/6BmATvwTSuzlrmWNMNRTJJE1nX+msYo94HtNbPDR//S9P3aTUAEI/CMVYZxD2c=----ATTACHMENT:----OTIzMzE5NTgzODk0MTMwOCAzMzU5MTI1NjUwMTU5NzY4IDc0NzQ1MzgxMjEwMDIxMjE=