$filesystem =
Shopware()->
Container()->
get('shopware.filesystem.private'
);
$filesystem->
putStream($path,
$stream);
unlink($tmpFile);
} } /**
* Assign configuration / data to template
*/
public function assignValues() { $this->
loadConfiguration4x();
if (!
$this->_preview
) { $this->
saveDocument();
} return $this->
assignValues4x();
} /**
* Set template path
*
* @param string $path
*/