Stellar PHP SDK API Documentation

XdrSCSpecEntryBase
in package

Table of Contents

Properties

$eventV0  : XdrSCSpecEventV0|null
$functionV0  : XdrSCSpecFunctionV0|null
$type  : XdrSCSpecEntryKind
$udtEnumV0  : XdrSCSpecUDTEnumV0|null
$udtErrorEnumV0  : XdrSCSpecUDTErrorEnumV0|null
$udtStructV0  : XdrSCSpecUDTStructV0|null
$udtUnionV0  : XdrSCSpecUDTUnionV0|null

Methods

__construct()  : mixed
decode()  : static
encode()  : string
fromBase64Xdr()  : static
fromJson()  : static
fromJsonValue()  : static
getEventV0()  : XdrSCSpecEventV0|null
getFunctionV0()  : XdrSCSpecFunctionV0|null
getType()  : XdrSCSpecEntryKind
getUdtEnumV0()  : XdrSCSpecUDTEnumV0|null
getUdtErrorEnumV0()  : XdrSCSpecUDTErrorEnumV0|null
getUdtStructV0()  : XdrSCSpecUDTStructV0|null
getUdtUnionV0()  : XdrSCSpecUDTUnionV0|null
setEventV0()  : void
setFunctionV0()  : void
setType()  : void
setUdtEnumV0()  : void
setUdtErrorEnumV0()  : void
setUdtStructV0()  : void
setUdtUnionV0()  : void
toBase64Xdr()  : string
toJson()  : string
toJsonValue()  : mixed

Properties

Methods

fromBase64Xdr()

public static fromBase64Xdr(string $xdr) : static
Parameters
$xdr : string
Return values
static

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

fromJsonValue()

public static fromJsonValue(mixed $value) : static
Parameters
$value : mixed
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