public function getDecodedData($data, $contentType)
{
return static::decodeData($data, $contentType, $this->decodeAsAssociative);
}
public function parseObject($response, $headers = []) { $contentType = !empty($headers[Http::CONTENT_TYPE_KEY]) ? $headers[Http::CONTENT_TYPE_KEY] : ''; $data = $this->command->getDecodedData($response, $contentType); return (new RObject($data, $headers))->setRawData($response); }