Definition at line 30 of file Response.php.
◆ __toString()
Cast to string (JSON)
- Returns
- string
Definition at line 244 of file Response.php.
◆ getArgs()
◆ getError()
Get response error
- Returns
- null|Zend_Json_Server_Error
Definition at line 102 of file Response.php.
◆ getId()
◆ getResult()
◆ getServiceMap()
Retrieve service map
- Returns
- Zend_Json_Server_Smd|null
Definition at line 234 of file Response.php.
◆ getVersion()
Retrieve JSON-RPC version
- Returns
- string
Definition at line 163 of file Response.php.
◆ isError()
Is the response an error?
- Returns
- bool
Definition at line 112 of file Response.php.
◆ setArgs()
Set args
- Parameters
-
- Returns
- self
Definition at line 211 of file Response.php.
213 $this->_args = $args;
◆ setError()
◆ setId()
◆ setResult()
◆ setServiceMap()
setServiceMap |
( |
|
$serviceMap | ) |
|
◆ setVersion()
◆ toJson()
Cast to JSON
- Returns
- string
Definition at line 173 of file Response.php.
177 'error' => $this->
getError()->toArray(),
178 'id' => $this->
getId(),
183 'id' => $this->
getId(),
191 #require_once 'Zend/Json.php';
static encode($valueToEncode, $cycleCheck=false, $options=array())
◆ $_error
◆ $_id
◆ $_result
◆ $_serviceMap
◆ $_version
The documentation for this class was generated from the following file:
- vendor/magento/zendframework1/library/Zend/Json/Server/Response.php