src/RecordWriterStrategy/CombinedRecordWriterStrategy.php
protected function getCombinedXML($innerXML)
    {
        // Determine start and end tags from configuration:
        $start = $this->wrappingTag;
        $tmp = explode(' ', $start);
        $end = '</' . str_replace(['<', '>'], '', $tmp[0]) . '>';

        // Assemble the document:
        return $start . $innerXML . $end;
    }
protected function getCombinedXML($innerXML)
    {
        // Determine start and end tags from configuration:
        $start = $this->wrappingTag;
        $tmp = explode(' ', $start);
        $end = '</' . str_replace(['<', '>'], '', $tmp[0]) . '>';

        // Assemble the document:
        return $start . $innerXML . $end;
    }
protected function getCombinedXML ( $ innerXML ) { // Determine start and end tags from configuration: $ start = $ this -> wrappingTag ; $ tmp = explode ( ' ' , $ start ) ; $ end = '</' . str_replace ( [ '<' , '>' ] , '' , $ tmp [ 0 ] ) . '>' ; // Assemble the document: return $ start . $ innerXML . $ end ; }
Support method for building combined XML document.

@param string $innerXML XML for inside of document.

@return string
Support method for building combined XML document .