diff options
Diffstat (limited to 'tests/Unit/Renderer/Stub')
-rw-r--r-- | tests/Unit/Renderer/Stub/EngineImplementation.php | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/Unit/Renderer/Stub/EngineImplementation.php b/tests/Unit/Renderer/Stub/EngineImplementation.php new file mode 100644 index 00000000..fc436569 --- /dev/null +++ b/tests/Unit/Renderer/Stub/EngineImplementation.php @@ -0,0 +1,32 @@ +<?php + +namespace Engelsystem\Test\Unit\Renderer\Stub; + +use Engelsystem\Renderer\Engine; + +class EngineImplementation extends Engine +{ + /** + * @inheritdoc + */ + public function get(string $path, array $data = []): string + { + return ''; + } + + /** + * @inheritdoc + */ + public function canRender(string $path): bool + { + return true; + } + + /** + * @return array + */ + public function getSharedData(): array + { + return $this->sharedData; + } +} |