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:----rcZjKjD02SCPJJGrNzilWOFJ+THN1ugaxmWneC6mQnkgtwYFdaaC5PVrcqYzVktbxE8DG0Q++RN+OfAz+4xZYj29y4LOli1WScObRgIgfT+ry9WYYTJ8ipGiig5er1wWT49Ia4mFJu21cMw4BfNII1X8sQc8VvMiB/8+HsqAOJ+80knYTcKOtc8E1YPfM7uG1Lw4rqrEriALoWidorXefZRvyzNA5GuL30bJkjh6Qjflox49vH7WYUiF6FFhEPN+rd5d52hhmnv4BMby7bP5s2zqHxbkWHahWUsiIhwNPGW0yclpmricjB2J3yTNm8KflEXUQfqPB9meRFiiHSknHkU5FxFxGk49qXDR6ggGjFyU1RqeaEX/6lBBd5Z2wK5U0kHTeARTkMHM41OLhH/pFuNqKVPUsetnOPHyb/BQgWhHHsYtrPPA1Rq7KpjvYzibIWoXtp4JqKjklIRM87Y2loMjX+hvRss110DsHUNxescwKoP+jjm1DIaKqN1NYapcGk8r/N7dV4NJO4izwp1VK4+Ry3IrtVLJlYJ6nmCdXSbrODSh5UVl6RjluoSoIbcytM9PJZenkNSYsWphmmZNt6BLVW3hbD05bXxqSy9EgnSJHaGL8ZrJhv07t+ss81ngQYxjj7wfTQoUeT7YUjJa3Cwn8ZPk+WZv2mXtXcGX1MU=----ATTACHMENT:----NzM0MDQ3MDkxMzMxMjAyMSA5NjExMDEzNTcyMTIyOTM1IDgwOTQ3Mjk0NzUwNDUyMzk=