Thanks,
i use it like this to get text like the one i get it from the body
$docx = new \Phpdocx\Create\CreateDocxFromTemplate($documentPath);
$headerText = implode(' ', $docx->getWordContents(['target' => 'header']));
i get the data, is that correct?