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:----OuvMtQo8IhOKzieOqYYrXYQxu3e5hIRlB0VTqUx+z0RmVATgBk8eLNU6jxjiXZoUyWV4Q9TORyxNYlucDFP8O0jKf+tR/D/k+UEXoD2Ktb5GCLzOhjtL2k5V1UP/OUQcGrUxbps21/StkraScbQmbB0nkbMTHseIeet+KrgloEH8a3a4CG/h8eH+OWRgSat+bfkUUzzIvO8nN5TTQuv6mivUP4hDyhDsWRgYf61xwXTJHr6u4Wtd3LhY9domx7pYa7QzX9u+GxpDOP5ywVsRt7OfpcLTeR/vBjKP7/3PmCCkJ+fVyQU2WOmhav/0xG289p85k/JglUBrWASClBuj+9J5s787EwHuUK1i2xDcuNJAMIGkXIQv6GIJjqm80ffWAAvR6KrUlzGfG2v33advX1cMSgM2jHECKgf67iw9OV1fKthAzC5wHcvZJqdHlAwg4n75mpOkTaXrPEUPraTfS14u0eRuAnuCIMZ5KkPGWE5fxIGiFWeopW5ltxrsvAyUvYmCrwsoHq4ussxaTBMdF2jqTqvT+CQACIJOOW3NBFsqqf4HgfS9Wpm2UzJNDJZ9NXTMiU/+/V9iayrg8pCxh2nAK1JtcPTcJ6ACH3TKZompTjI5g9CRvY0JG9lO7ieixafEM/+2rS34jjJwBf+D6cxRBxmeKcCK/qQDn1tBbJc=----ATTACHMENT:----MzE4NTc1MjA4ODQyODMzMyAyODQ4OTI2MjA2MDA0MDc1IDM0MjUwOTY5NDAwODU2MTA=