$this->stringLimits = \
json_encode($this->limits, \JSON_THROW_ON_ERROR
);
return ['id', 'attempts', 'timer', 'expiresAt', 'unthrottledAttempts', 'stringLimits'
];
} public function __wakeup(): void
{ try { $this->limits =
json_decode($this->stringLimits, true, 512, \JSON_THROW_ON_ERROR
);
} catch (\JsonException
) { throw new \
BadMethodCallException('Cannot unserialize ' . self::
class);
} unset($this->stringLimits
);
} public function getId(): string
{ return $this->id;
} public function getExpirationTime(): ?int
{