src/Horizon/Api/PostTransactionResponse.php
protected function parseRawData($rawData)
    {
        if (!$rawData) return;

        if (!empty($rawData['result_xdr'])) {
            $xdr = new XdrBuffer(base64_decode($rawData['result_xdr']));
            $this->result = TransactionResult::fromXdr($xdr);
        }
    }
protected function parseRawData($rawData)
    {
        if (!$rawData) return;

        if (!empty($rawData['result_xdr'])) {
            $xdr = new XdrBuffer(base64_decode($rawData['result_xdr']));
            $this->result = TransactionResult::fromXdr($xdr);
        }
    }
Parses the raw response data and populates this object

@param $rawData
@throws \ErrorException