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

32 lines
500 B
PHP
Raw Permalink Normal View History

2018-12-03 23:39:50 +01:00
<?php
declare(strict_types=1);
2018-12-03 23:39:50 +01:00
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;
}
}