class Result

Class Result

Methods

__construct(object $result = '')

Result constructor Result wrapper over the plain result for the future

json
toJSON()

To convert result object to json

Value
get(string $key)

Get the keys from the object

Details

at line 39
__construct(object $result = '')

Result constructor Result wrapper over the plain result for the future

Parameters

object $result
  • Response object

at line 51
json toJSON()

To convert result object to json

Return Value

json

format of the result

at line 63
Value get(string $key)

Get the keys from the object

Parameters

string $key
  • key whose corresponding value to be retrieved

Return Value

Value