Stellar PHP SDK API Documentation

XdrSCSpecEventParamLocationV0
in package

Table of Contents

Constants

SC_SPEC_EVENT_PARAM_LOCATION_DATA  : mixed = 0
SC_SPEC_EVENT_PARAM_LOCATION_TOPIC_LIST  : mixed = 1

Properties

$value  : int

Methods

__construct()  : mixed
decode()  : XdrSCSpecEventParamLocationV0
encode()  : string
fromBase64Xdr()  : static
fromJson()  : static
fromJsonValue()  : static
getValue()  : int
SC_SPEC_EVENT_PARAM_LOCATION_DATA()  : XdrSCSpecEventParamLocationV0
SC_SPEC_EVENT_PARAM_LOCATION_TOPIC_LIST()  : XdrSCSpecEventParamLocationV0
toBase64Xdr()  : string
toJson()  : string
toJsonValue()  : string

Constants

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