This method is required for serializing the object and SHOULD NOT be accessed directly.
@internal
array{value: string}
public function __serialize() : array { return [ 'value' => $this->value, ]; }