class Result implements JsonSerializable

Result.

Methods

array
toArray()

Returns an array representation of the result.

array
jsonSerialize()

Returns data which can be serialized by json_encode().

string
toJson(int $options = 0)

Returns a json representation of the result.

string
__toString()

Returns a json representation of the result.

Details

at line 25
array toArray()

Returns an array representation of the result.

Return Value

array

at line 35
array jsonSerialize()

Returns data which can be serialized by json_encode().

Return Value

array

at line 46
string toJson(int $options = 0)

Returns a json representation of the result.

Parameters

int $options JSON encode options

Return Value

string

at line 56
string __toString()

Returns a json representation of the result.

Return Value

string