getFile(); return new TemplateResponse( Application::APP_ID, 'directEditing', [ 'fileId' => $file->getId(), 'fileName' => $file->getName(), 'fileContent' => $file->getContent(), ], 'base' ); } catch (\Throwable) { return new NotFoundResponse(); } } }