engelsystem/tests/Unit/Renderer/Stub/EngineImplementation.php

30 lines
474 B
PHP
Raw Normal View History

2018-12-03 23:39:50 +01:00
<?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;
}
public function getSharedData(): array
{
return $this->sharedData;
}
}