From 840c1b2d60ef5c679aab0f1935b5e7bde2ee5dca Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Thu, 7 Apr 2022 21:03:35 +0200 Subject: [PATCH] wip #5220 --- .ssh/authorized_keys | 1 + bin/process | 2 ++ src/Process.php | 54 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 57 insertions(+) create mode 100644 .ssh/authorized_keys create mode 100644 bin/process create mode 100644 src/Process.php diff --git a/.ssh/authorized_keys b/.ssh/authorized_keys new file mode 100644 index 0000000..2330a97 --- /dev/null +++ b/.ssh/authorized_keys @@ -0,0 +1 @@ +ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC3vHNE7na68aUPFwAK4h3VW+PR4GZaLsTCdySLdt8974jKltMDfWdEbM//mQOm4nOLDkPkbn+TX0GuTNu/SnFTP/qnG7e+p+pqhuYrvw9CHBHtsGoPZS1ZWs53wuXbuJmYTzJMaMV+dibRh2rX/uzH7dBNVQJMGFcQkjrq/UnhJTgKZPprhx2tDV4Rm72GXH4JOi+yautM7jK21gpxdFUJy7VaNaPB1iqcCikn+htCNs1n8BjVRwAMPI9AB6eEgfX68DyVF80TGLyWxlCumFOZXDELhOneJtO0zFMSEuBVXbPm2fNq1jaMaeqgmZqQiZNM0o4hqW/ZLcRH0k+gGXHH extranet@amarcord.cubedesigners.com \ No newline at end of file diff --git a/bin/process b/bin/process new file mode 100644 index 0000000..55e2208 --- /dev/null +++ b/bin/process @@ -0,0 +1,2 @@ +#!/bin/sh +/usr/bin/php8.1 -f /usr/local/fluidbook_processfarm/bin/process.php -- \ No newline at end of file diff --git a/src/Process.php b/src/Process.php new file mode 100644 index 0000000..5de1a1d --- /dev/null +++ b/src/Process.php @@ -0,0 +1,54 @@ +setFile($file); + $this->setPage($page); + parent::__construct($format, $resolution, $withGraphics, $withTexts, $version); + } + + /** + * @param mixed $page + */ + public function setPage($page): void + { + $this->page = $page; + } + + public function getPage(): int + { + return $this->page; + } + + public function getOut() + { + $f = $this->getFile(); + } + + /** + * @return mixed + */ + public function getFile() + { + return $this->file; + } + + /** + * @param mixed $file + */ + public function setFile($file): void + { + $this->file = $file; + } + + +} \ No newline at end of file -- 2.39.5