]> _ Git - fluidbook_tools.git/commitdiff
wip #5991 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 5 Jun 2023 11:49:06 +0000 (13:49 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 5 Jun 2023 11:49:06 +0000 (13:49 +0200)
src/Compiler/Compiler.php
src/Compiler/CompilerInterface.php
src/Compiler/DummyCompiler.php

index 97b74e31680509bddf08b5b2a37bffa55f25ffd5..852fa50accf89393caaf202826720f66e56c6cc0 100644 (file)
@@ -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;
+    }
 }
index e03fc20d9f610b5d030c9ca02e0233f25b99527f..0f2bf4fed850ddc5ee7466e559913add8d9c8289 100644 (file)
@@ -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;
 }
index 9a6531ca6b62d312a3993a56ce44392e89c2df0f..67dca410f791dbbdc62fdb5bec91768e9be5b5a2 100644 (file)
@@ -135,4 +135,8 @@ class DummyCompiler implements CompilerInterface {
     public function getPageNumber(): int {
         // TODO: Implement getPageNumber() method.
     }
+
+    public function getQuality(): int {
+        // TODO: Implement getQuality() method.
+    }
 }