From: Vincent Vanwaelscappel Date: Wed, 19 Jan 2022 14:06:25 +0000 (+0100) Subject: wip #4804 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=354b9af834d24009fac4a743c29a5671d751516d;p=fluidbook_tools.git wip #4804 --- 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