Codebird\Codebird::_parseApiReply
Parses the API reply to encode it in the set return_format
Signature
protected function _parseApiReply(string
$reply,
[boolean
$get_headers = false] )
Parameters
$reply
— string- The actual reply, JSON-encoded or URL-encoded
$get_headers
— boolean- If to return the headers instead of body
Returns
- array|object
- The parsed reply