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:----rghgLEIWSl6VhcwP38JKS8ZoOIX6lvollUWiVcJzVF/Rvy5aZ0hkGBhjXhTRimNKZ1/gPTz2hmTAKr5fx5nhj6UMVz4HXFE69Pw8lKLa/hUU6j1TMes8NvanFERyyr7cVmm0MmVKrUTz+BWyWetzDl7g16yB3g8V1cFkbQh7xb6ELKhfL2xRYrZqzUopzVkDqEX1qrelOb1dYEpOza5ifwS+CtFgh9iydNW7VKyugfYEukMgSGg8YddC1IoVlZVE5TyYCAnvwzMkXEutiVFP1+wfN1JNRH/Fnj3+HC06DDuQtrCTSqcXk6d2IpjpI9nOeKA/82kdyiibMAsiNqOd4Ix7GfHTRyjC5ArlifFmoyhhcBxMHHGK6ZgEA5H1ym2uEagcBBi23ECHMwjJiURS+SAmI+K6rS90Mtjqz6DdQ3+O/CcavXUXSXYCw0QCuEmNBfU8D91BEzC2pCbkThhAv/9fSCnMFU/SqY++TopRXBo7BbWt/hkku3tVwVZvrRsOV8BfvtOyhqrcAFdvB+RYlucPSTMf8RKRuX+osRH8MwhttDFG+SS8xvnOPXuhrDfpDVZBqsBawBZbdgsbvDwX5f+MwyeMNb77UZjpcMnKwGBaR0gJyqGhXyRKktg13/+CCB2xIB1mVHPeq5WSpYVTAJGB1z/dw8M4CPwO8xGUNsQ=----ATTACHMENT:----NDQ2OTEyMDY1OTM3ODM4MCA2ODU1MzE0NTA3NTYwODg5IDQ2NDE0MTYzNDIwNDcxMjk=