Stellar PHP SDK API Documentation

XdrSCSpecUDTUnionCaseTupleV0
in package

Table of Contents

Properties

$doc  : string
$name  : string
$type  : array<string|int, mixed>

Methods

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

Properties

Methods

__construct()

public __construct(string $doc, string $name, array<string|int, mixed> $type) : mixed
Parameters
$doc : string
$name : string
$type : array<string|int, mixed>

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