private function getStoredProcessingOptions($documentId)
{
$filename = PIMCORE_TEMPORARY_DIRECTORY . DIRECTORY_SEPARATOR . "web2print-processingoptions-" . $documentId . "_" . $this->getUser()->getId() . ".psf";
if (file_exists($filename)) {
return \Pimcore\Tool\Serialize::unserialize(file_get_contents($filename));
} else {
return [];
}
}