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:----Ts+GENiWGV74sfSf+DIlZuAych8yYz+4Io/ax4Ld+kIHr1/dGu2cJVT0RQ4QM6LEbDkOOdG269/z0hTQpBcRctkAHSp9oXsym9sD9BUTufIy7QYM6kvlSNbc2hzJT6enRIQ2DBX2PVZh8rPPuPYOFRF9mrdKSdKyTLl7bwA9P1of90mUBASlMIKFvyV/gU36guca0G46wydrfnaW1GCUvMNyYMpzjjDQ4+hlmq52eTjo5IL4f7eXMf6MFkmH3NzV0zgIIyDAjzf/j6rCRa+IzM71SPXJvMX+W9Yb4bVfztItsN2Pn4rKqsh8JWagK+hZJvJuLAitwJlW8B4OlJ2kTrkNDbET1TbYuu3fo9rqIO6f2uvZt0/vj4IxkI6+8Gs7lF58moNKBim2Y0+hp3sEgQW9ZOpvwAdjZpBIAk7o9l/mwLWg82WLY0K05Q3L/zPudrAMXrSQxxivf+caUrZwz7SqItMRjab5VV38u9s0Jj6XQA0Qnk3bt5Jh30A7EKrnWPyitGPhmVLWwIF2YrSRDwogYQlSJwDfDd4QOc4c02nSInmwEYiTj2I4DEjE3/zYL7Qo/cxL2lUq1GBN8iFajFqJsruAZM3JBBNWP0gVG4tZFLb21r1KmqjyCOMQBCZ2Nmgik2KyNkwcSIv7eGHD3zVKYcPppU72Z1VXls0jwsQ=----ATTACHMENT:----NjEwMTQwMjM5MjY1MTUzMiA3OTA5MjA1NTg3MTU5ODA0IDEwOTA0MDgxNzQxMjkxMA==