private function moveSummaryTable($dstFile,$node){
        $summaryTable = (new \DOMXPath($dstFile))->query("//div[@id='stepContainerSummary']")
            ->item(0)->parentNode->parentNode;
        $node->appendChild($dstFile->importNode($summaryTable,true));
    }
private function moveSummaryTable($dstFile,$node){
        $summaryTable = (new \DOMXPath($dstFile))->query("//div[@id='stepContainerSummary']")
            ->item(0)->parentNode->parentNode;
        $node->appendChild($dstFile->importNode($summaryTable,true));
    }
private function moveSummaryTable ( $ dstFile , $ node ) { $ summaryTable = ( new \ DOMXPath ( $ dstFile ) ) -> query ( "//div[@id='stepContainerSummary']" ) -> item ( 0 ) -> parentNode -> parentNode ; $ node -> appendChild ( $ dstFile -> importNode ( $ summaryTable , true ) ) ; }
This function moves Summary block in the bottom of result report
@param $dstFile \DOMDocument - destination file
@param $node \DOMNode - parent node of Summary table
This function moves Summary block in the bottom of result report