// Needs to be called this early since $this->createDocument boots the
// shop, the order was made in, and thereby destroys the backend session
$translationComponent = $this->get(Shopware_Components_Translation::class);
/**
* Fires when the user want to open a generated order document from the backend order module.
* Returns the created pdf file.
*
* @return void
*/
return 0; }
/**
* Handles cleaning process and returns the number of deleted media objects
*/ privatefunctionhandleCleanup(SymfonyStyle $io): int { $em = $this->getContainer()->get(ModelManager::class);
/**
* Helper function which formats the Ext JS search value
* to a valid doctrine field value for the passed field.
* This function is used to supports different date search strings
* like the german and english date format.
* Additionally this function adds the sql wildcards at the right points of
* the search value.
*
* @param string $value
* @param array{alias?: string, type: string|null} $field
* @param string|null $expression
*
* @return string
*/