app, $file->getCollection()->get_databox(), $file->getUUID() )); return new Response($boolean, $this); } /** * {@inheritdoc} */ public static function getMessage(TranslatorInterface $translator) { return $translator->trans('A file with the same UUID already exists in database'); } }