Stellar PHP SDK API Documentation

XdrSCSpecUDTUnionCaseVoidV0
in package

Table of Contents

Properties

$doc  : string
$name  : string

Methods

__construct()  : mixed
decode()  : XdrSCSpecUDTUnionCaseVoidV0
encode()  : string
fromBase64Xdr()  : static
fromJson()  : static
fromJsonValue()  : static
getDoc()  : string
getName()  : string
setDoc()  : void
setName()  : void
toBase64Xdr()  : string
toJson()  : string
toJsonValue()  : array<string|int, mixed>

Properties

Methods

fromJson()

public static fromJson(string $json) : static
Parameters
$json : string
Tags
throws
JsonException

If $json is not syntactically valid JSON.

InvalidArgumentException

If the JSON shape does not match this type.

Return values
static

toJson()

public toJson() : string
Tags
throws
JsonException

If the value contains structures that cannot be encoded as JSON.

Return values
string
On this page

Search results