From: Vincent Vanwaelscappel Date: Mon, 5 Jun 2023 11:49:06 +0000 (+0200) Subject: wip #5991 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=f370f46431a6c2d6bc88f765555ac4a2b1710cf7;p=fluidbook_tools.git wip #5991 @0.25 --- diff --git a/src/Compiler/Compiler.php b/src/Compiler/Compiler.php index 97b74e3..852fa50 100644 --- a/src/Compiler/Compiler.php +++ b/src/Compiler/Compiler.php @@ -383,4 +383,8 @@ class Compiler implements ShouldQueue, ShouldBeUnique, CompilerInterface { public function getPageNumber(): int { return (int)$this->config->pages; } + + public function getQuality(): int { + return 85; + } } diff --git a/src/Compiler/CompilerInterface.php b/src/Compiler/CompilerInterface.php index e03fc20..0f2bf4f 100644 --- a/src/Compiler/CompilerInterface.php +++ b/src/Compiler/CompilerInterface.php @@ -65,4 +65,6 @@ interface CompilerInterface { public function addSEOArticle($page, $title, $intro, $image, $id = null, $url = null, $content = ''); public function getPageNumber(): int; + + public function getQuality():int; } diff --git a/src/Compiler/DummyCompiler.php b/src/Compiler/DummyCompiler.php index 9a6531c..67dca41 100644 --- a/src/Compiler/DummyCompiler.php +++ b/src/Compiler/DummyCompiler.php @@ -135,4 +135,8 @@ class DummyCompiler implements CompilerInterface { public function getPageNumber(): int { // TODO: Implement getPageNumber() method. } + + public function getQuality(): int { + // TODO: Implement getQuality() method. + } }