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:----joEHBdw/EWakEta3Vj5UlFANQri6t7vAqohtJ7kJ6W8yswX6UzDLo0JJAhZYty9KOyPxUQL00vO2mLLkOiiMHqt0UtxocRV8NKWESPFRPLQncBYb4mpkm+B8nh5tCXSb8fD4SkKSRZl1cP38h6UIVjAkRatD3tXFi5BvyvJFuHorNIGOWWN5H6eKJ6f96q+6F5kyft5lqX8Yj40StJHGB3ujtNizxJ5miu+iM5n+qvaFPrICjiRlMCVgWYLNdQ97xdvuLJJkMBZ197ObHtSrwfJ1fPm/I1UbX2Y0EqUyAYxJFuItX+21iQAsW4V4906LFwj0fVG6qTitMxWuwTT4VVlVS55Gd16HOLSO6sbli/y43szYbSYeue7bnShHfXCDIEqc/0occ10miBlxg2UvOKhtxMVMrb7NI2bVcs4pp61HqbbrPObSbfyKce0taoi5/20qIyNp264B0fMgJwKL+Q/DnWlnL3meXBWoLJL8/cLtZuUQFyj64WFbcVzN7D8DTHu88vOtsndVAog0vkgwDX/UcdmISzWVeuXs1TpxRbrJzMnxuuPbCfW0XxFSDi8h+TxId9lI80bnRv0WlIw4hK8CAcgGxNe3NiQU5hR0J0QgJIJzxLecofFfI7/jH/E1ZpKiVw6jA346k18CfAq6ADRrrAR5J03HBrbYtkApztI=----ATTACHMENT:----NDMwOTU0NTg0MDk2NjcwNCA2NjA4MTg5NTMxODg3Mzc3IDgxMzQzNDg4MTkzMDMyMjE=