function BigInteger::__unserialize
This method is only here to allow unserializing the object and cannot be accessed directly.
@internal @psalm-suppress RedundantPropertyInitializationCheck
Parameters
array{value: string} $data:
Throws
\LogicException
File
-
vendor/
brick/ math/ src/ BigInteger.php, line 1043
Class
- BigInteger
- An arbitrary-size integer.
Namespace
Brick\MathCode
public function __unserialize(array $data) : void {
if (isset($this->value)) {
throw new \LogicException('__unserialize() is an internal function, it must not be called directly.');
}
$this->value = $data['value'];
}