function($files)
{
if ( !\is_array($files) ){
$files = [$files];
}
//$this->pdf->SetImportUse();
foreach ( $files as $f ){
if ( is_file($f) ){
$pagecount = $this->pdf->SetSourceFile($f);
for ( $i = 1; $i <= $pagecount; $i++ ){
$import_page = $this->pdf->importPage($i);
$this->pdf->UseTemplate($import_page);
$this->pdf->addPage();
}
}
}
}
return $this;
}