src/XdrModel/Operation/AccountMergeOp.php
public static function fromXdr(XdrBuffer $xdr)
    {
        $destination = AccountId::fromXdr($xdr);

        return new AccountMergeOp($destination->getAccountIdString());
    }
public static function fromXdr(XdrBuffer $xdr)
    {
        $destination = AccountId::fromXdr($xdr);

        return new AccountMergeOp($destination->getAccountIdString());
    }
NOTE: This only parses the XDR that's specific to this operation and cannot
load a full Operation

@deprecated Do not call this directly, instead call Operation::fromXdr()
@param XdrBuffer $xdr
@return AccountMergeOp
@throws \ErrorException