From 354b9af834d24009fac4a743c29a5671d751516d Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 19 Jan 2022 15:06:25 +0100 Subject: [PATCH] wip #4804 --- .idea/runConfigurations.xml | 10 ---------- src/Document.php | 5 +++++ 2 files changed, 5 insertions(+), 10 deletions(-) delete mode 100644 .idea/runConfigurations.xml diff --git a/.idea/runConfigurations.xml b/.idea/runConfigurations.xml deleted file mode 100644 index 797acea..0000000 --- a/.idea/runConfigurations.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/src/Document.php b/src/Document.php index 6642cc7..16d106f 100644 --- a/src/Document.php +++ b/src/Document.php @@ -21,6 +21,11 @@ class Document extends \Cubist\PDF\Document stop_measure('Process pages (doc)'); } + public function getConvertPath(): string + { + return Files::mkdir(storage_path('fluidbook/convert/' . $this->getHash() . '/')); + } + /** * @param $page int * @param $dest string -- 2.39.5