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:----L4Aq2HEDGmKuLzCDOWgWVZp6apjOhUTfu6hjr19blW4Lgd1O15PudkRpYNfbSSrvmx4CWxz1Q7wb3Zlenz6jC1B+8n5XNyBASktNMXcnpec1u6Cj5afEy+FjXNpt4zsUrTCHBdRyhSYf2Ho4C6WZSj8AFtbGcNi0YMou46IXGV7/VXb3IQq7mo3lcl7f6zxPYy8o6XW8Cw33q1owx+JX2ZMpig3RoVPOLvoPibMHfkSvuMm1o9HJMtyz4QT/U9zq3JMgg/hPO023Zuw0tLUMBYL3DbWejUVGvUEP1qTd3TOQNS6AoswFeg7hfuUBLLzIvRjFDisdvrMZ86uPYDhK/BtdUzl4MxBwa43sE4HNtTmutBX10/cQjDJw3h0YYrpeuPYnFUivJ/eArhvQtrYBxfe5uxyvdUMkZ147PLJeb2eguPHa0KPRK9CRlcblu+WaLTaEyyQQxnyZXAxTLvmyPAj9D35Bpft8BS3dlVDr83lyRyGMTW6J+5dWarrsHT66Ujh4nwJGeXJYU1bxXMuRn9lwateACHmki3UjBxv9J5TjY68RS3J2vx5OPUDVrCIQE8/YSimlXEeZ9XIi3nRQYEjMy22ap3EekDafV8at5dvGwLe93yGv94KA5+oTO3IEpuarfp3Wou4do324KgVMFEj74NR4Det7yWXBgZmP0Jg=----ATTACHMENT:----OTEzODg2MzQyNDY1MTkzMyAyNTgxNTg1ODM4ODY1MTAzIDc0MjgwOTE3ODg4ODAwNDU=