From: Vincent Vanwaelscappel Date: Mon, 22 Aug 2022 18:35:13 +0000 (+0200) Subject: wip #5410 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=1445a4543613a5d20d7a72da8b1dd22c1fa0a9e7;p=fluidbook_tools.git wip #5410 --- diff --git a/src/Compiler/Compiler.php b/src/Compiler/Compiler.php index 1e26690..af5ab4d 100644 --- a/src/Compiler/Compiler.php +++ b/src/Compiler/Compiler.php @@ -30,14 +30,12 @@ class Compiler implements ShouldQueue, ShouldBeUnique, CompilerInterface use Styles; - /** * @var string */ protected $out; - /** * @var Source[] */ @@ -49,7 +47,6 @@ class Compiler implements ShouldQueue, ShouldBeUnique, CompilerInterface protected $pages = []; - /** * @var string */ @@ -366,4 +363,10 @@ class Compiler implements ShouldQueue, ShouldBeUnique, CompilerInterface // TODO: Implement virtualToPhysical() method. return ""; } + + public function page_path($page, $path = ''): string + { + // TODO: Implement page_path() method. + return ''; + } } diff --git a/src/Compiler/CompilerInterface.php b/src/Compiler/CompilerInterface.php index fa7e666..5f56b66 100644 --- a/src/Compiler/CompilerInterface.php +++ b/src/Compiler/CompilerInterface.php @@ -33,6 +33,8 @@ interface CompilerInterface public function source_path($path = ''): string; + public function page_path($page, $path = ''): string; + public function getWidth(); public function getHeight();